Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when connecting a cable from CircuitTermination to CircuitTerminaiton #3179

Closed
HanlinMiao opened this issue Jan 27, 2023 · 3 comments · Fixed by #4822
Closed

Error when connecting a cable from CircuitTermination to CircuitTerminaiton #3179

HanlinMiao opened this issue Jan 27, 2023 · 3 comments · Fixed by #4822
Assignees
Labels
emergent Unplanned work that is brought into a sprint after it's started. type: bug Something isn't working as expected

Comments

@HanlinMiao
Copy link
Contributor

Environment

  • Nautobot version (Docker tag too if applicable): 1.5.7
  • Python version: 3.7.16
  • Database platform, version:
  • Middleware(s):

Steps to Reproduce

  1. Connect a cable from CircuitTermination to CircuitTermination from CircuitDetailPage
  2. After creating, nautobot will try to redirect you back to CircuitDetailPage

Expected Behavior

CircuitDetailPage is correctly rendered

Observed Behavior

Attribute Error occurred
Screen Shot 2023-01-27 at 10 55 59 AM

@HanlinMiao HanlinMiao added the type: bug Something isn't working as expected label Jan 27, 2023
@HanlinMiao
Copy link
Contributor Author

See this comment on CircuitCircuitTerminationSerializer for a possible fix

@slappey-ibkr
Copy link

What's the fix here? I'm getting the same error and I'm unable to access the detail view of many circuits. I'm running nautobot v1.5.11 and python v3.10.2. Also, I'm unable to delete cables via api that are connected to circuit terminations. I keep getting "CablePath matching query does not exist".

@alhogan
Copy link

alhogan commented Apr 26, 2023

This came up again, user accidentally connected two Circuits via Front and Rear ports on a patch panel Device. The corresponding Cable objects can't be deleted from the GUI due to the error @HanlinMiao posted above. We were able to workaround this issue by deleting the cable via the Nautobot Shell.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
emergent Unplanned work that is brought into a sprint after it's started. type: bug Something isn't working as expected
Projects
No open projects
Status: Done
5 participants