-
Notifications
You must be signed in to change notification settings - Fork 253
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 '_meta'" on object detail view when Relationships reference nonexistent data models #2077
Labels
type: bug
Something isn't working as expected
Comments
Similar to the issues fixed in #1644; need to identify how this case differs and why it wasn't caught in that fix. |
6 tasks
bryanculver
pushed a commit
that referenced
this issue
Jul 25, 2022
…nvolves a non-installed model (#2078)
smk4664
added a commit
to smk4664/nautobot
that referenced
this issue
Jul 29, 2022
* next: (26 commits) Include relationships and associations on object REST APIs (nautobot#2092) Add release-note for nautobot#2116 Update Releases Batched for Next (next) (nautobot#2116) Re-ordered migrations Add release-note for nautobot#1226, nautobot#1739, nautobot#2115 Add custom job intervals (nautobot#2084) Implement Notes Model (nautobot#1984) Update Lock-file Patch Releases for Develop (nautobot#2115) update paginator to enforce max_page_size setting in web ui views (nautobot#2112) Add missing location status migration (nautobot#2100) update release-notes for issue nautobot#2060 added peer_id filter for relationship associations (nautobot#2113) Add release-note for nautobot#2025 Cleanup group names, manual approval for flake8 (nautobot#2025) updated documentations for nautobot#2109 and nautobot#2111 fixed one to many relationship source filter and apply AND operator between filters (nautobot#2111) Version bump to v1.3.10-beta.1, seeded next version in docs. Add release-note for nautobot#860, nautobot#1694, nautobot#2081. Update release date, version. Fix nautobot#2077 - handle case on object detail views where a relationship involves a non-installed model (nautobot#2078) Fix error raised if status connected not found when creating a cable (nautobot#2089) ... # Conflicts: # nautobot/circuits/api/serializers.py # nautobot/core/api/serializers.py # nautobot/dcim/api/serializers.py # nautobot/docs/development/best-practices.md # nautobot/docs/development/style-guide.md # nautobot/docs/release-notes/version-1.4.md # nautobot/extras/api/nested_serializers.py # nautobot/extras/api/relationships.py # nautobot/extras/api/serializers.py # nautobot/extras/tests/integration/test_notes.py # nautobot/extras/tests/test_api.py # nautobot/utilities/testing/api.py
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Environment
Steps to Reproduce
Expected Behavior
Page to load and render successfully
Observed Behavior
Page load fails, with
AttributeError: 'NoneType' object has no attribute '_meta'
Deleting the Relationship(s) in question appears to restore normal operation.
May be reproducible on
main.demo.nautobot.com
when the database is regenerated, as its data set includes plugin-model relationships on Device, butmain.demo
(unlikedemo.nautobot.com
) doesn't actually install any plugins.The text was updated successfully, but these errors were encountered: