Incorrect redirection after editing a prefix in the Aggregate - Prefixes tab #6133

Closed
opened 2025-12-29 19:37:08 +01:00 by adam · 0 comments
Owner

Originally created by @markkuleinio on GitHub (Feb 22, 2022).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.1.8

Python version

3.9

Steps to Reproduce

  1. Create a RIR "Test"
  2. Create aggregate 99.99.99.0/24 (RIR = Test)
  3. Go to Prefixes tab in the aggregate
  4. Click Add Prefix - 99.99.99.0/28 - Create
  5. Go to aggregate 99.99.99.0/24 - Prefixes tab
  6. Select (using checkbox) prefix 99.99.99.0/28 - Edit
  7. Enter description "Test" - Apply

Expected Behavior

The Prefixes tab of aggregate 99.99.99.0/24 is shown.

Observed Behavior

The URL /ipam/prefixes/xx/prefixes is shown (= some prefix with ID of xx is shown, or Page Not Found is received).

It should redirect to /ipam/aggregates/xx/prefixes instead.

Originally created by @markkuleinio on GitHub (Feb 22, 2022). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.1.8 ### Python version 3.9 ### Steps to Reproduce 1. Create a RIR "Test" 2. Create aggregate 99.99.99.0/24 (RIR = Test) 3. Go to Prefixes tab in the aggregate 4. Click Add Prefix - 99.99.99.0/28 - Create 5. Go to aggregate 99.99.99.0/24 - Prefixes tab 6. Select (using checkbox) prefix 99.99.99.0/28 - Edit 7. Enter description "Test" - Apply ### Expected Behavior The Prefixes tab of aggregate 99.99.99.0/24 is shown. ### Observed Behavior The URL `/ipam/prefixes/xx/prefixes` is shown (= some prefix with ID of xx is shown, or Page Not Found is received). It should redirect to `/ipam/aggregates/xx/prefixes` instead.
adam added the type: bugstatus: accepted labels 2025-12-29 19:37:08 +01:00
adam closed this issue 2025-12-29 19:37:08 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6133