Skip to content

Assigning child device to device bay doesn't return to device bay listing #8226

@candlerb

Description

@candlerb

NetBox version

v3.1.4

Python version

3.8

Steps to Reproduce

  1. Create a parent device with device bays in a given rack
  2. Create one or more child devices in the same rack
  3. Go to the parent device listing, device bays tab, e.g. /dcim/devices/1031/device-bays/
  4. Click on "+" next to one of the bays. This takes you to e.g. /dcim/device-bays/110/populate/?return_url=/dcim/devices/1031/device-bays/
  5. Select one of the child devices created in step (2)
  6. Click Save

Expected Behavior

After adding to device bay, you should return to device bay listing at /dcim/devices/1031/device-bays/ (as is correctly implied by the return_url parameter)

Observed Behavior

You return to the main device page at /dcim/devices/1031/ instead. The return_url is ignored.

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