-
Notifications
You must be signed in to change notification settings - Fork 287
Labels
Milestone
Description
Observed behavior
- User created channel
- User added two folders to the channel
- User attempted to publish the channel
- Publish process failed because it has no resources, only folders
- 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"])),
Reactions are currently unavailable