Closed as not planned
Closed as not planned
Description
Deployment Type
Self-hosted
NetBox Version
v4.1.3
Python Version
3.12
Steps to Reproduce
- Freshly installed / vanilla setup of Netbox 4.1.3
- Create Custom Field Choice set entry:
- Name: automation
- Choices:
- enabled:enabled
- disabled:disabled
- Create custom field entry:
- Name: device_automation
- Object Types: DCIM > Device
- Type: Selection
- Choice set: automation
- Remaining settings left with default value
- Run the following GraphQL query in GraphQL client page:
{
custom_field_list
{
name,
choice_set {
extra_choices
}
}
}
Expected Behavior
Output of custom field object device_automation including extra_choices should be shown.
Observed Behavior
{
"data": {
"custom_field_list": [
{
"name": "device_automation",
"choice_set": {
"extra_choices": null
}
}
]
},
"errors": [
{
"message": "String cannot represent value: ['enabled', 'enabled']",
"locations": [
{
"line": 6,
"column": 9
}
],
"path": [
"custom_field_list",
0,
"choice_set",
"extra_choices",
0
]
}
]
}