Skip to content

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

@markkuleinio

Description

@markkuleinio

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.

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