Skip to content

Unable to open channel details for new channel #4793

@sentry

Description

@sentry

Observed behavior

  1. User created channel
  2. User added two folders to the channel
  3. User attempted to publish the channel
  4. Publish process failed because it has no resources, only folders
  5. Subsequently opening the channel info / details hits a 500 error

Notes

It appears this issue happens without first publishing. Essentially, opening a new channel's details fails. We should perhaps disable the info button/icon until the channel has been successfully published once.


Sentry Issue: STUDIO-HDM

TypeError: 'NoneType' object is not iterable
(7 additional frame(s) were not displayed)
...
  File "contentcuration/views/nodes.py", line 39, in get_channel_details
    data = get_node_details_cached(request.user, channel.main_tree, channel_id=channel_id)
  File "contentcuration/views/nodes.py", line 83, in get_node_details_cached
    return node.get_details(channel_id=channel_id)
  File "contentcuration/models.py", line 1819, in get_details
    "authors": list(filter(bool, node["authors"])),

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions