Skip to content

Wrong value types on custom fields #6640

@avisom

Description

@avisom

NetBox version

v2.11.7

Python version

3.6

Steps to Reproduce

  1. Create a custom field for a ipam > prefix.
  2. Select a value type as a text.
  3. Update prefix through the API and set a integer value equal to 51 for the new custom field in the same request

Expected Behavior

Error should be returned.
If a prefix updated through the GUI this works fine.

Observed Behavior

The prefix has an integer value on the custom field

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions