-
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
v.3.6.4
Python version
3.11
Steps to Reproduce
- create a custom field choice set
- start creating a custom field. attempt to search in the "choice set" field.
UI error should pop up (or see a failure in browser debug window
error can easily be triggered by going to /api/extras/custom-field-choice-sets/?brief=true&q=abc on a netbox instance
Expected Behavior
choice set should filter
Observed Behavior
error is triggered in browser
<class 'django.db.utils.DataError'>
malformed array literal: "abc"
LINE 1: ... "extras_customfieldchoiceset"."extra_choices" @> 'abc'::var...
^
DETAIL: Array value must start with "{" or dimension information.
Python version: 3.11.4
NetBox version: 3.6.4
Plugins:
netbox_gateways: 0.4.3

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