Skip to content

Module Template do not sync if main branch has interface template changes #341

@XBravRevolutionz

Description

@XBravRevolutionz

Plugin Version

0.7.1

NetBox Version

4.4.3

Python Version

3.12.3

Steps to Reproduce

  1. Create a module template with interfaces in Main branch.
  2. Create a new branch.
  3. On main branch, delete interfaces and create new interfaces.
  4. On new branch, sync with main branch (Without Commit. See Comment Below) . The changes from the main branch will not be present.
  5. Attempt to modify or delete one of the interfaces on the branch.

Expected Behavior

The branch sync feature should be able to synchronize the newer data from the main branch, even if the interface template IDs change. The synchronization should align the branch with the main branch, and ideally identify if any of the branch changes would be erased by the main branch sync.

Observed Behavior

Server Error

There was a problem with your request. Please contact an administrator.

The complete exception is provided below:

<class 'dcim.models.device_component_templates.InterfaceTemplate.DoesNotExist'>

InterfaceTemplate matching query does not exist.

Python version: 3.12.3
NetBox version: 4.4.3
Plugins:
netbox_branching: 0.7.1

If further assistance is required, please post to the NetBox discussion forum on GitHub.

I have not tested if this issue will further cascade when trying to merge the branch into the main trunk.

Metadata

Metadata

Assignees

Labels

app: branchingseverity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions