-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.0.0
Python version
3.9
Steps to Reproduce
- Edit an Interface on a device
- Look at the API-Call: /api/ipam/vlans/?available_on_device=3&brief=true
- Cancel edit
- Edit an Interface on a device again
- Look at the API-Call: /api/ipam/vlans/?available_on_device=3&available_on_device=3&brief=true
- 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 implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application