Plugin Version
0.8.3
NetBox Version
v4.5.5 (docker image netboxcommunity/netbox:v4.5.5)
Python Version
3.12.3
Steps to Reproduce
- Create a fresh NetBox install
- Create a site
- Create a device role with the name 'switch'
- Create a device template with at least one interface
- Add this script to NetBox: https://github.com/GoepiGB/netbox-branching-issue-496/blob/main/BranchingTest.py
- Create a branch
- Run the script; select the site and device template created before, committing the changes is not necessary
Expected Behavior
The device is created, and the interface is assigned a description successfully
Observed Behavior
The script fails with a validation error:
ValidationError: {'__all__': ["Cannot modify interface '1' because it has been deleted in the main branch. Sync with the main branch to update."]}
Running the script in the main branch works without error.
Plugin Version
0.8.3
NetBox Version
v4.5.5 (docker image netboxcommunity/netbox:v4.5.5)
Python Version
3.12.3
Steps to Reproduce
Expected Behavior
The device is created, and the interface is assigned a description successfully
Observed Behavior
The script fails with a validation error:
ValidationError: {'__all__': ["Cannot modify interface '1' because it has been deleted in the main branch. Sync with the main branch to update."]}Running the script in the main branch works without error.