Skip to content

Channel size exceeded - ensure this value is less than or equal to 2147483647 #5796

@sentry

Description

@sentry

This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Observed behavior

QA team member attempted to publish a channel with a reported size greater than the 32-bit integer limit.


Sentry Issue: STUDIO-J64

ValidationError: {'size': ['Ensure this value is less than or equal to 2147483647.']}
(2 additional frame(s) were not displayed)
...
  File "contentcuration/viewsets/channel.py", line 556, in publish_from_changes
    self.publish(
  File "contentcuration/viewsets/channel.py", line 583, in publish
    channel = publish_channel(
  File "contentcuration/utils/publish.py", line 1177, in publish_channel
    fill_published_fields(channel, version_notes)
  File "contentcuration/utils/publish.py", line 1045, in fill_published_fields
    channel.version_info.save()
  File "contentcuration/models.py", line 1639, in save
    self.full_clean()

Investigation

Perhaps we need to change this field to a BIG INT?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions