Skip to content

Conversation

@Julio-Oliveira-Encora
Copy link
Contributor

…tom-field choice-set data

Fixes: #14755

Currently, the endpoint "custom-field-choice-sets" accepts one element each (should be two elements each). I changed the Serializer to check the payload and return 400 if it's malformed.

…epts invalid custom-field choice-set data
Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jeremystretch jeremystretch merged commit 48168de into netbox-community:develop Jan 19, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ValueError in web UI after REST API accepts invalid custom-field choice-set data

2 participants