-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
severity: highCompletely breaks certain functions, or substantially degrades performance application-wideCompletely breaks certain functions, or substantially degrades performance application-widestatus: acceptedtype: bug
Milestone
Description
Plugin Version
NetBox Version
v4.4.0
Python Version
3.11
Steps to Reproduce
- create a custom object type
- add Multi Object field pointing to type
- add a custom object with the field pointing to a couple objects
- restart NetBox
Expected Behavior
NetBox restarts and runs normally
Observed Behavior
Get a SystemCheckError and NetBox won't start.
Traceback (most recent call last):
File "/opt/homebrew/Cellar/[email protected]/3.13.5/Frameworks/Python.framework/Versions/3.13/lib/python3.13/threading.py", line 1043, in _bootstrap_inner
self.run()
~~~~~~~~^^
File "/opt/homebrew/Cellar/[email protected]/3.13.5/Frameworks/Python.framework/Versions/3.13/lib/python3.13/threading.py", line 994, in run
self._target(*self._args, **self._kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ahanson/dev/work/netbox/venv/lib/python3.13/site-packages/django/utils/autoreload.py", line 64, in wrapper
fn(*args, **kwargs)
~~^^^^^^^^^^^^^^^^^
File "/Users/ahanson/dev/work/netbox/venv/lib/python3.13/site-packages/django/core/management/commands/runserver.py", line 134, in inner_run
self.check(**check_kwargs)
~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ahanson/dev/work/netbox/venv/lib/python3.13/site-packages/django/core/management/base.py", line 569, in check
raise SystemCheckError(msg)
django.core.management.base.SystemCheckError: SystemCheckError: System check identified some issues:
ERRORS:
netbox_custom_objects.Table1Model.tmulti: (fields.E307) The field netbox_custom_objects.Table1Model.tmulti was declared with a lazy reference to 'netbox_custom_objects.customobject', but app 'netbox_custom_objects' doesn't provide model 'customobject'.
netbox_custom_objects.Table1Model.tmulti: (fields.E331) Field specifies a many-to-many relation through model 'netbox_custom_objects.Through_custom_objects_1_tmulti', which has not been installed.
netbox_custom_objects.Table1Model.tmulti: (fields.E331) Field specifies a many-to-many relation through model 'netbox_custom_objects.Through_custom_objects_1_tmulti', which has not been installed.
netbox_custom_objects.Through_custom_objects_1_tmulti.source: (fields.E307) The field netbox_custom_objects.Through_custom_objects_1_tmulti.source was declared with a lazy reference to 'netbox_custom_objects.customobject', but app 'netbox_custom_objects' doesn't provide model 'customobject'.
netbox_custom_objects.Through_custom_objects_1_tmulti.target: (fields.E307) The field netbox_custom_objects.Through_custom_objects_1_tmulti.target was declared with a lazy reference to 'netbox_custom_objects.customobject', but app 'netbox_custom_objects' doesn't provide model 'customobject'.
Metadata
Metadata
Assignees
Labels
severity: highCompletely breaks certain functions, or substantially degrades performance application-wideCompletely breaks certain functions, or substantially degrades performance application-widestatus: acceptedtype: bug