Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to open channel details for new channel #4793

Closed
sentry-io bot opened this issue Oct 23, 2024 · 1 comment · Fixed by #4807
Closed

Unable to open channel details for new channel #4793

sentry-io bot opened this issue Oct 23, 2024 · 1 comment · Fixed by #4807
Assignees
Labels
DEV: backend P1 - important Priority: High impact on UX

Comments

@sentry-io
Copy link

sentry-io bot commented Oct 23, 2024

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"])),
@sentry-io sentry-io bot added DEV: backend P1 - important Priority: High impact on UX labels Oct 23, 2024
@bjester bjester changed the title Unable to open channel details after failed publish attempt Unable to open channel details for new channel Oct 23, 2024
@bjester bjester added this to the Studio: Q4 patch release 1 milestone Oct 23, 2024
@rtibbles rtibbles self-assigned this Nov 5, 2024
@rtibbles rtibbles linked a pull request Nov 6, 2024 that will close this issue
24 tasks
@bjester
Copy link
Member

bjester commented Nov 13, 2024

Closed by #4807

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DEV: backend P1 - important Priority: High impact on UX
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants