Skip to content

available_on_device added to API Call multiple times #7124

@beatjoerg

Description

@beatjoerg

NetBox version

v3.0.0

Python version

3.9

Steps to Reproduce

  1. Edit an Interface on a device
  2. Look at the API-Call: /api/ipam/vlans/?available_on_device=3&brief=true
  3. Cancel edit
  4. Edit an Interface on a device again
  5. Look at the API-Call: /api/ipam/vlans/?available_on_device=3&available_on_device=3&brief=true
  6. Repeat step 3 to 5 multiple times. Every time available_on_device is added again. Seems to be cached in code and not reset on every request.

Expected Behavior

Parameter "available_on_device" only appears once
/api/ipam/vlans/?available_on_device=3&brief=true

Observed Behavior

If the steps are repeated many times the URL of the API call gets too long.

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