Closed
Description
Deployment Type
Self-hosted
NetBox Version
v4.3.0-beta1
Python Version
3.10
Steps to Reproduce
- Create a Prefix
192.168.0.0/22
- Create an IP Range
192.168.1.50-99/22
with:- Start:
192.168.1.50/22
- End:
192.168.1.99/22
mark_populated
: True
- Start:
- Navigate to the Prefix
192.168.0.0/22
→ IP Addresses tab - Locate the row representing the populated IPRange
- Click either the Edit or Delete button next to
192.168.1.50-99/22
Expected Behavior
Both Edit and Delete should operate on the IPRange object and bring up the appropriate forms for modifying or deleting the range.
Observed Behavior
Both buttons incorrectly operate on an IPAddress object, using the ID of the IPRange.
Impact:
- Attempting to edit/delete an IPRange actually opens the form for a different object (an IPAddress).
- This creates confusion and may result in unintended modifications or deletion of unrelated IPAddresses.
Additional Notes:
- This seems to affect only populated IPRanges (
mark_populated=True
). - The Edit action is being misrouted, possibly due to a rendering issue or mistaken object type association in the IP Address list view.