Skip to content

Return URL is not preserved when using "create and add another" button #8101

@candlerb

Description

@candlerb

NetBox version

v3.1.1

Python version

3.8

Steps to Reproduce

  1. Create a device with an interface, say IP 192.168.5.1/24
  2. Create FHRP group ID 1, with address 192.168.5.2/24, status Active, "Create and add another"
  3. Create FHRP group ID 2, with address 192.168.5.3/24, status Active, "Create"
  4. Go to the device, view the interface
  5. Click "Assign group". Click "Cancel". This correctly returns to the interface.
  6. Click "Assign group". Select group ID 1, priority 0, click "Create and add another"
  7. Click "Cancel"

Expected Behavior

Return to the interface page (/dcim/interfaces/NNN/)

Observed Behavior

Returns to the Netbox home page. It has forgotten the navigation route to the correct place

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