-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Plugin Version
commit a850a9c (HEAD -> main, origin/main, origin/HEAD)
NetBox Version
commit 6d4cc16ca41e472615b6a061afc3f864a60248dc (4.4-beta)
Python Version
Python 3.12.3
Steps to Reproduce
- Create COT X with text field set to primary
- Create an X with a populated text field
- Create COT Y with object field pointing to COT X
- Create a Y pointing to the X
- Go to create another X
Expected Behavior
- I can create the next CO of type X
Observed Behavior
First it errors with this:
<class 'django.core.exceptions.ImproperlyConfigured'>
Field name `testtext` is not valid for model `Table1Model` in `netbox_custom_objects.api.serializers.Table1ModelSerializer`.
Python version: 3.12.3
NetBox version: 4.4.0-beta1-Docker-3.3.0
Plugins:
netbox_custom_objects: 0.2.0
Then later we get these errors on all actions on COTs:
<class 'ValueError'>
'CustomObjectType' instance needs to have a primary key value before this relationship can be used.
Python version: 3.12.3
NetBox version: 4.4.0-beta1-Docker-3.3.0
Plugins:
netbox_custom_objects: 0.2.0