"service" does not preserve the order of ports when editing #14325
Labels
severity: low
Does not significantly disrupt application functionality, or a workaround is available
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
NetBox version
v3.6.5
Python version
3.8
Steps to Reproduce
Expected Behavior
Either the ports to remain in the order originally entered, or to be sorted. (I note that the data type in the underlying Postgres column is
integer[]
which is an ordered list)Observed Behavior
When viewing the table of services (
/ipam/services/
), the ports are shown in order:It also shows the same when viewing the details of an individual service (e.g.
/ipam/services/2/
)However, when editing the service (
/ipam/services/2/edit/
), the ports are in a randomized order:This matches what's in the database, which in the same randomized order:
The text was updated successfully, but these errors were encountered: