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

AttributeError: 'NoneType' object has no attribute 'tree_id' #3845

Closed
sentry-io bot opened this issue Nov 28, 2022 · 1 comment
Closed

AttributeError: 'NoneType' object has no attribute 'tree_id' #3845

sentry-io bot opened this issue Nov 28, 2022 · 1 comment
Assignees
Labels
P0 - critical Priority: Release blocker or regression

Comments

@sentry-io
Copy link

sentry-io bot commented Nov 28, 2022

For reference, this publishing issue could be related

Sentry Issue: STUDIO-FJ2

AttributeError: 'NoneType' object has no attribute 'tree_id'
(10 additional frame(s) were not displayed)
...
  File "rest_framework/views.py", line 506, in dispatch
    response = handler(request, *args, **kwargs)
  File "rest_framework/decorators.py", line 50, in handler
    return func(*args, **kwargs)
  File "contentcuration/views/base.py", line 338, in activate_channel_endpoint
    activate_channel(channel, request.user)
  File "contentcuration/api.py", line 74, in activate_channel
    user.check_channel_space(channel)
  File "contentcuration/models.py", line 255, in check_channel_space
    staging_tree_id = channel.staging_tree.tree_id
@bjester bjester self-assigned this Dec 1, 2022
@bjester bjester added the P0 - critical Priority: Release blocker or regression label Dec 1, 2022
bjester added a commit to bjester/studio that referenced this issue Dec 2, 2022
bjester added a commit to bjester/studio that referenced this issue Dec 2, 2022
@bjester
Copy link
Member

bjester commented Dec 5, 2022

Addressed in #3855

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 - critical Priority: Release blocker or regression
Projects
None yet
Development

No branches or pull requests

1 participant