Issue when swapping circuit Terminations #5078

Closed
opened 2025-12-29 19:23:52 +01:00 by adam · 5 comments
Owner

Originally created by @BeArchiTek on GitHub (Jul 21, 2021).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v2.11.9

Python version

3.8

Steps to Reproduce

Test: https://demo.netbox.dev/circuits/circuits/10/

  1. Add a new circuit
  2. Add a new A termination
  3. Add a new Z termination
  4. Swap the 2 terminations

Expected Behavior

A and Z Terminations are swapped

Observed Behavior

A Termination doesn't change
Z Termination is override to be A

Ps : if you deleted A or Z Termination, the other one is deleted

Originally created by @BeArchiTek on GitHub (Jul 21, 2021). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v2.11.9 ### Python version 3.8 ### Steps to Reproduce Test: https://demo.netbox.dev/circuits/circuits/10/ 1. Add a new circuit 2. Add a new A termination 3. Add a new Z termination 4. Swap the 2 terminations ### Expected Behavior A and Z Terminations are swapped ### Observed Behavior A Termination doesn't change Z Termination is override to be A Ps : if you deleted A or Z Termination, the other one is deleted
adam added the type: bugstatus: accepted labels 2025-12-29 19:23:52 +01:00
adam closed this issue 2025-12-29 19:23:53 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jul 21, 2021):

Looks like another caching bug. Have you tried disabling caching?

@jeremystretch commented on GitHub (Jul 21, 2021): Looks like another caching bug. Have you tried disabling caching?
Author
Owner

@BeArchiTek commented on GitHub (Jul 22, 2021):

Hello Jeremy,

I doesn't have a working 2.11.9 except the demo at the moment, so can't deactivate the cache on it.

As the default one is 15 minutes, I checked back on the demo 30 minutes after doing the change and the entry is still duplicate.

Regards,

@BeArchiTek commented on GitHub (Jul 22, 2021): Hello Jeremy, I doesn't have a working 2.11.9 except the demo at the moment, so can't deactivate the cache on it. As the default one is 15 minutes, I checked back on the demo 30 minutes after doing the change and the entry is still duplicate. Regards,
Author
Owner

@jeremystretch commented on GitHub (Jul 23, 2021):

In that case, please update your post above to prescribe the exact set of steps someone else can follow to reproduce the reported behavior with caching disabled, and without relying on data in the demo instance.

@jeremystretch commented on GitHub (Jul 23, 2021): In that case, please update your post above to prescribe the exact set of steps someone else can follow to reproduce the reported behavior with caching disabled, and without relying on data in the demo instance.
Author
Owner

@jeremystretch commented on GitHub (Jul 23, 2021):

Looks like this and #6775 are the same issue.

@jeremystretch commented on GitHub (Jul 23, 2021): Looks like this and #6775 are the same issue.
Author
Owner

@BeArchiTek commented on GitHub (Jul 23, 2021):

Hello,

Edited.

Regards,

@BeArchiTek commented on GitHub (Jul 23, 2021): Hello, Edited. Regards,
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5078