Replacing M2M values in a branch causes conflicts #11377

Closed
opened 2025-12-29 21:44:23 +01:00 by adam · 3 comments
Owner

Originally created by @tom0010 on GitHub (Jul 14, 2025).

Deployment Type

Self-hosted

NetBox Version

v4.3.3

Python Version

3.12

Steps to Reproduce

  1. Create a Provider in the main branch and select at least one ASN
  2. Create and activate a new branch
  3. Edit the created provider and replace with a different ASN
  4. View the branch details which detects the ASNs have been removed and then added which causes a conflict

We also observed this in our custom plugin which also uses M2M relationships when modifying objects in a branch.

Expected Behavior

Object should not display a conflict.

Observed Behavior

Image Image
Originally created by @tom0010 on GitHub (Jul 14, 2025). ### Deployment Type Self-hosted ### NetBox Version v4.3.3 ### Python Version 3.12 ### Steps to Reproduce 1. Create a Provider in the main branch and select at least one ASN 2. Create and activate a new branch 3. Edit the created provider and replace with a different ASN 4. View the branch details which detects the ASNs have been removed and then added which causes a conflict We also observed this in our custom plugin which also uses M2M relationships when modifying objects in a branch. ### Expected Behavior Object should not display a conflict. ### Observed Behavior <img width="2086" height="337" alt="Image" src="https://github.com/user-attachments/assets/2ea69e08-aa5e-4ff3-b569-965f6b55e676" /> <img width="2258" height="411" alt="Image" src="https://github.com/user-attachments/assets/84e31e74-04bb-4745-947f-5e3c46dafefb" />
adam added the type: bug label 2025-12-29 21:44:23 +01:00
adam closed this issue 2025-12-29 21:44:23 +01:00
Author
Owner

@jnovinger commented on GitHub (Jul 14, 2025):

@tom0010 , can you please file this against https://github.com/netboxlabs/netbox-branching/?

@jnovinger commented on GitHub (Jul 14, 2025): @tom0010 , can you please file this against https://github.com/netboxlabs/netbox-branching/?
Author
Owner

@tom0010 commented on GitHub (Jul 14, 2025):

@tom0010 , can you please file this against https://github.com/netboxlabs/netbox-branching/?

Raised here: https://github.com/netboxlabs/netbox-branching/issues/298

@tom0010 commented on GitHub (Jul 14, 2025): > [@tom0010](https://github.com/tom0010) , can you please file this against https://github.com/netboxlabs/netbox-branching/? Raised here: https://github.com/netboxlabs/netbox-branching/issues/298
Author
Owner

@jnovinger commented on GitHub (Jul 14, 2025):

Thanks!

@jnovinger commented on GitHub (Jul 14, 2025): Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11377