-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Closed
Copy link
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.6.4
Python version
3.10
Steps to Reproduce
- Create Site
Site A - Create Site
Site B - Create Location
Floor 1inSite Awith slugfloor-1 - Create Location
Floor 1inSite Bwith slugfloor-1 - Navigate to Locations > bulk import
- Paste the following to get the error
site,parent,name,slug,status
Site B,Floor 1,Loc A,loc-a,active
- Delete Location
Floor 1inSite A - Paste the same again with success
Expected Behavior
A new Location, Loc A, with a parent location of Floor 1 in site Site B should have been imported
Observed Behavior
It appears the query for locations to check for duplicates is not limiting to the defined Site. Instead, the following error is returned:
Record 1 parent: "Floor 1" is not a unique value for this field; multiple objects were found
Metadata
Metadata
Assignees
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application