-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
app: custom objectsseverity: 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
0.1.0
NetBox Version
4.3.1
Python Version
3.12.3
Steps to Reproduce
create custom object type "senders"
create custom object type field
Name = "id", Label = "Id"
Create custom object
Expected Behavior
When creating custom object, the field label displayed should be "Id", however the field name is going to clash with an internal database column name and should either be disallowed or modified internally to protect the database schema.
Observed Behavior
At this point, it is impossible to delete the field "id" or the custom object "senders", as we get a referential integrity error warning message.
Further investigation reveals additional table created in Postgres
custom_objects_1
custom_objects_2
custom_objects_2_senders
custom_objects_3
Metadata
Metadata
Assignees
Labels
app: custom objectsseverity: highCompletely breaks certain functions, or substantially degrades performance application-wideCompletely breaks certain functions, or substantially degrades performance application-widestatus: acceptedtype: bug