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

Exception: Did not find the entity instance in the given relation class fields!Either a wrong entity instanc... #380

Open
sentry-io bot opened this issue Dec 20, 2022 · 0 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Dec 20, 2022

Sentry Issue: APIS-PMB-PRODUCTION-1

Exception: Did not find the entity instance in the given relation class fields!Either a wrong entity instance or wrong relation class was passed to this function.
(2 additional frame(s) were not displayed)
...
  File "django/views/generic/base.py", line 70, in view
    return self.dispatch(request, *args, **kwargs)
  File "django/contrib/auth/mixins.py", line 109, in dispatch
    return super().dispatch(request, *args, **kwargs)
  File "django/views/generic/base.py", line 98, in dispatch
    return handler(request, *args, **kwargs)
  File "apis_core/apis_entities/detail_views.py", line 76, in get
    table = get_generic_relations_table(relation_class=rel, entity_instance=instance, detail=True)
  File "apis_core/apis_relations/tables.py", line 129, in get_generic_relations_table
    raise Exception(

this is again coming from a bot, however we need to resolve the issue with the tables nonetheless

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

No branches or pull requests

0 participants