-
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
NetBox version
v3.6.0
Python version
3.9
Steps to Reproduce
- Add a choice field set named Test with the following choices:
test,Test tester,Tester testing,Testing - Add a custom field
a. Name: Test
b: Object: Circuits
c: Type: Multiple Selection (Selection also has an issue)
d: Required: True
e: Default: "test"
f: Choice Set: Test - Save
Expected Behavior
Custom Field Saves
Observed Behavior
AttributeError: 'CustomField' object has no attribute 'message'
Nested Exception:
ValidationError: Invalid choice(s) (t, e, s, t). Available choices are:
Alternatively, if default is set to "", the nested exception is:
ValidationError: 'Required field cannot be empty.'
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