Possible inconsistency when adding new device #4738

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

Originally created by @dreng on GitHub (Apr 8, 2021).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v2.11.0-dev

Python version

3.7

Steps to Reproduce

  1. Add a new device
  2. In the Location pane, choose a location
  3. In the Location pane, choose a site that does not belong to the previously chosen location
  4. Save new device

Expected Behavior

In step 3, sites should be displayed filtered. Sites that do not belong to a previously chosen location should not be choosable.

Observed Behavior

As sites are not filtered it is possible to choose a site that does not belong to the previsouly chosen location. Thus it is possible to add a device with inconsistent data.

Originally created by @dreng on GitHub (Apr 8, 2021). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v2.11.0-dev ### Python version 3.7 ### Steps to Reproduce 1. Add a new device 2. In the Location pane, choose a location 3. In the Location pane, choose a site that does not belong to the previously chosen location 4. Save new device ### Expected Behavior In step 3, sites should be displayed filtered. Sites that do not belong to a previously chosen location should not be choosable. ### Observed Behavior As sites are not filtered it is possible to choose a site that does not belong to the previsouly chosen location. Thus it is possible to add a device with inconsistent data.
adam added the type: bugstatus: acceptedbeta labels 2025-12-29 19:20:01 +01:00
adam closed this issue 2025-12-29 19:20:01 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4738