Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong value types on custom fields #6217

Closed
exiz01 opened this issue Apr 19, 2021 · 0 comments
Closed

Wrong value types on custom fields #6217

exiz01 opened this issue Apr 19, 2021 · 0 comments
Assignees
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@exiz01
Copy link

exiz01 commented Apr 19, 2021

NetBox version

v2.11.0

Python version

3.6

Steps to Reproduce

  1. Create a custom field for a dcim > device type.
  2. Select a value type as an integer.
  3. Create a new device type through the API and set a string value equal to '1234' for the new custom field in the same request.

Expected Behavior

The new device type should have an integer value on the custom field.
If a device type is created through the GUI this works fine.

Observed Behavior

The new device type has a string value on the custom field

@exiz01 exiz01 added the type: bug A confirmed report of unexpected behavior in the application label Apr 19, 2021
@jeremystretch jeremystretch added the status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation label Apr 21, 2021
@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation and removed status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation labels Jun 2, 2021
@jeremystretch jeremystretch self-assigned this Jun 2, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants