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

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

Originally created by @candlerb on GitHub (Jan 4, 2022).

Originally assigned to: @jeremystretch on GitHub.

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.

Originally created by @candlerb on GitHub (Jan 4, 2022). Originally assigned to: @jeremystretch on GitHub. ### 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.
adam added the type: bugstatus: accepted labels 2025-12-29 19:33:43 +01:00
adam closed this issue 2025-12-29 19:33:43 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5872