Skip to content

Child devices disappear from the list of Non-Racked Devices if new child device is created #4595

@jones-g

Description

@jones-g

Environment

  • Python version: 3.6.8
  • NetBox version: 2.8.0

Steps to Reproduce

  1. Create a device type that is a parent device and create 2 or more device bays on parent device
  2. Create a device type that is a child device
  3. Create device from parent device type and place in rack
  4. Create device from child device type and place in rack
  5. Insert child device in parent device
  6. Create another device from child device type and place in same rack

Expected Behavior

Expected to see both child devices in "Non-Racked Devices" on rack at step 6. The first with parent set and the second without parent set.

Observed Behavior

At step 4 and 5 the first child device is shown in the "Non-Racked Devices" as expected. At step 4 with no parent and at step 5 with the parent device set. Upon creating the second child device in step 6 - if the first child device is already placed inside a device bay it disappears from the list of "Non-Racked Devices" and only the second child device is show.

Confirmed on netboxdemo.com running version 2.8.1 as well.

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