The Site ID variable on cable termination objects is not updated when nested locations are moved from one site to another. #12474
Labels
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
NetBox version
v.3.5.0
Python version
3.10
Steps to Reproduce
Create Site 1
Create Location 1 in Site 1
Create Sublocation 1 in Site 1 with Location 1 as parent
Create Rack 1 in Sublocation 1
Create Device 1 in Rack 1
Create Device 2 in Rack 1
Create an interface in each device
Create a cable linking these interfaces together
Create Site nr 2
Move Location 1 from Site 1 to Site 2
Delete Site 1
Expected Behavior
Site 1 should be deleted
Observed Behavior
Site is not deleted, even though it is empty.
Throws error
<class 'IndexError'>
list index out of range
The text was updated successfully, but these errors were encountered: