-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
Deployment Type
NetBox Cloud
NetBox Version
v4.1.1
Python Version
3.12
Steps to Reproduce
- Create a CustomFieldChoices with some options (A,B,C)
- Create a Device Z
- Create a custom field of type selection with the CustomFieldChoices
- Assign the custom field to Device
- On Device Z, on the custom field, assign choice B
- In the CustomFieldChoiceSet delete option B
- View Device Z
Expected Behavior
The selected option on the choiceset attached to device Z should be null/none, due to the option removal
Observed Behavior
Option B remains until the object is edited or saved, despite no longer existing.
Note - Due to the options inherent within ChoiceSets (eg: Non Null, default etc) but I'm trying to ascertain if this is a bug (ie: NetBox should warn/error on Objects with this choice selected) or expected behaviour - hence requesting feedback
Metadata
Metadata
Assignees
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application