-
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
Self-hosted
NetBox Version
v3.6.9
Python Version
3.8
Steps to Reproduce
- Create custom field for Virtual machine with multi selection
- One value has a trailing whitespace, e.g. "bla "
- Try to import this value via CSV:
id,cf_CustField
123,bla
This won't work too:
id,cf_CustField
123,"bla "
But this works:
id,cf_CustField
123,"bla ,anotherBla"
Expected Behavior
It will get imported
Suggestion: By default remove any leading and trailing white spaces form field values.
Observed Behavior
Error: "Record 1 cf_CustField: Select a valid choice. bla is not one of the available choices."
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