Skip to content

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

@arthanson

Description

@arthanson

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

Metadata

Metadata

Assignees

Labels

netboxseverity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions