Skip to content

Custom Field Choices -> Create & Add Another causes IndexError #17796

@jacobw

Description

@jacobw

Deployment Type

Self-hosted

Triage priority

N/A

NetBox Version

v4.1.4

Python Version

3.12

Steps to Reproduce

  1. In Custom Field Choice Sets choose + Add
  2. Provide name: test and add extra choice test
  3. Click Create & Add Another

Expected Behavior

Back to Add a new custom field choice set page.

Observed Behavior

The complete exception is provided below:

<class 'IndexError'>

string index out of range

Python version: 3.12.3
NetBox version: 4.1.4
Plugins:
netbox_prometheus_sd: 0.6

Metadata

Metadata

Labels

netboxseverity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions