Closed
Description
NetBox version
v3.2.1
Python version
3.8
Steps to Reproduce
- Create a service with all required parameters. Set the ports to
80, 8080
. - View the creation record in the service's change log
Expected Behavior
The list of designated ports (which are stored on the model as an array of integers) should be recorded as ports: [80, 8080]
.
Observed Behavior
The ports are serialized as a string: ports: "[\"80\", \"8080\"]"
.
This seems to be a limitation of Django's built-in JSON serializer, which apparently does not support array types.