Deleting a virtual Chassis with members does not set the device member position to None #11803

Closed
opened 2025-12-29 21:50:03 +01:00 by adam · 0 comments
Owner

Originally created by @arthanson on GitHub (Nov 3, 2025).

Originally assigned to: @arthanson on GitHub.

NetBox Edition

NetBox Community

NetBox Version

v4.4.5

Python Version

3.10

Steps to Reproduce

  1. Create a device MD1
  2. create a virtual chassis
  3. Add a new member (MD1) to the virtual chassis at position 1
  4. Delete the virtual chassis

Expected Behavior

The device vc_position should be set to None

Observed Behavior

The device vc_position is still set to 1. This causes the ObjectChange to be recorded wrong and can result in errors in branching when doing a sync. See branching issue #170

Originally created by @arthanson on GitHub (Nov 3, 2025). Originally assigned to: @arthanson on GitHub. ### NetBox Edition NetBox Community ### NetBox Version v4.4.5 ### Python Version 3.10 ### Steps to Reproduce 1. Create a device MD1 2. create a virtual chassis 3. Add a new member (MD1) to the virtual chassis at position 1 4. Delete the virtual chassis ### Expected Behavior The device vc_position should be set to None ### Observed Behavior The device vc_position is still set to 1. This causes the ObjectChange to be recorded wrong and can result in errors in branching when doing a sync. See branching issue [#170](https://github.com/netboxlabs/netbox-branching/issues/170)
adam added the type: bugstatus: acceptednetboxseverity: low labels 2025-12-29 21:50:03 +01:00
adam closed this issue 2025-12-29 21:50:03 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11803