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

ContentNode.MultipleObjectsReturned: get() returned more than one ContentNode -- it returned 2! #1661

Open
sentry-io bot opened this issue Jul 22, 2022 · 2 comments
Labels

Comments

@sentry-io
Copy link

sentry-io bot commented Jul 22, 2022

Sentry Issue: H2O-Z

ContentNode.MultipleObjectsReturned: get() returned more than one ContentNode -- it returned 2!
(1 additional frame(s) were not displayed)
...
  File "django/core/handlers/base.py", line 181, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "django/utils/decorators.py", line 130, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "main/views.py", line 204, in wrapper
    temp_obj = get_object_or_404(
  File "django/shortcuts.py", line 76, in get_object_or_404
    return queryset.get(*args, **kwargs)
  File "django/db/models/query.py", line 439, in get
    raise self.model.MultipleObjectsReturned(
@lizadaly
Copy link
Contributor

Reproducible from going to /casebooks/5713-criminal-advocacy/resources/3.1.1-illinois-v-wardlow/annotate/ on prod

@lizadaly lizadaly added the bug label Nov 21, 2022
@lizadaly
Copy link
Contributor

This issue reoccurs frequently but unclear what the user impact is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant