-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Labels
app: custom objectsseverity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedtype: bug
Milestone
Description
Plugin Version
v0.4.1
NetBox Version
v4.4.5
Python Version
3.12
Steps to Reproduce
- create a new
custom-object-type: - add a new field named
model - open the
custom-object-type url: http://127.0.0.1:8585/plugins/custom-objects/<my_custom_object/ - page returns a server error
Expected Behavior
Expecting the url of the newly created custom-object-type to return all the instances of this object or an empty table.
Observed Behavior
page return an internal server error, as the object-type-field named model generates this error.
renaming or deleting this field fixes the issue.
type object 'NoneType' has no attribute '_meta'
Python version: 3.12.3
NetBox version: 4.4.6-Docker-3.4.2
Plugins:
netbox_contract: 2.4.1
netbox_custom_objects: 0.4.1
netbox_routing: 0.3.1
netbox_topology_views: 4.3.0
nextbox_ui_plugin: 1.0.7
There must be a way to differentiate between built-in properties & custom created properties. maybe by adding a prefix to the attribute names?
Metadata
Metadata
Assignees
Labels
app: custom objectsseverity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedtype: bug