Exception and invalid CablePath state after editing a cable in a branch #10210

Closed
opened 2025-12-29 21:28:26 +01:00 by adam · 2 comments
Owner

Originally created by @Supermathie on GitHub (Sep 9, 2024).

Deployment Type

Self-hosted

NetBox Version

4.1.0

Python Version

3.12

Steps to Reproduce

I'm using the netbox-community docker image with netbox_branching 0.4.0 and a database dump taken on netbox 3.7, restored to 4.0.x, then upgraded to 4.1.0.

After provisioning a new branch, I deleted cables (1440, 1441) and then attempted to edit a cable (631):

image
image

Expected Behavior

The edit should complete normally.

Observed Behavior

The following error was received:
image

The edit has been partially made. Upon viewing the original device, note the connection details are incorrect:

image

and same on the new device:
image

Attempting to trace the cable gives:
image

Viewing the cable itself shows the intended final configuration:
image

Originally created by @Supermathie on GitHub (Sep 9, 2024). ### Deployment Type Self-hosted ### NetBox Version 4.1.0 ### Python Version 3.12 ### Steps to Reproduce I'm using the netbox-community docker image with netbox_branching 0.4.0 and a database dump taken on netbox 3.7, restored to 4.0.x, then upgraded to 4.1.0. After provisioning a new branch, I deleted cables (1440, 1441) and then attempted to edit a cable (631): ![image](https://github.com/user-attachments/assets/cd059654-1d4a-464a-b45c-518b6a2e9410) ![image](https://github.com/user-attachments/assets/797aa0b7-6d38-4c5f-ab9a-2a359af2eea6) ### Expected Behavior The edit should complete normally. ### Observed Behavior The following error was received: ![image](https://github.com/user-attachments/assets/89f4bde0-17b1-4055-81cc-90227a60377b) The edit has been partially made. Upon viewing the original device, note the connection details are incorrect: ![image](https://github.com/user-attachments/assets/04287719-da95-4b5a-a745-1a26bdf11171) and same on the new device: ![image](https://github.com/user-attachments/assets/94260f5f-e586-4d9b-80bc-c2c35102a3a2) Attempting to trace the cable gives: ![image](https://github.com/user-attachments/assets/1922f620-cd76-4ff7-a2c4-f25b9570c240) Viewing the cable itself shows the intended final configuration: ![image](https://github.com/user-attachments/assets/10891daf-4eac-410c-936b-ae2612895ce5)
adam closed this issue 2025-12-29 21:28:26 +01:00
Author
Owner

@Supermathie commented on GitHub (Sep 9, 2024):

DAMMIT
wrong repo

@Supermathie commented on GitHub (Sep 9, 2024): DAMMIT wrong repo
Author
Owner

@Supermathie commented on GitHub (Sep 9, 2024):

(sorry, didn't notice the difference close types there)

@Supermathie commented on GitHub (Sep 9, 2024): (sorry, didn't notice the difference close types there)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10210