Return to circuit after editing termination #7088

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

Originally created by @PieterL75 on GitHub (Oct 7, 2022).

NetBox version

v3.2.9

Python version

3.9

Steps to Reproduce

  1. Create a circuit
  2. in the circuit page, create a termination (returns properly to the circuit)
  3. in the circuit page, edit the termination and save

Expected Behavior

The edit page returns to the circuit or site

Observed Behavior

The edit page returns to the termination details, rather than the ciruit

Originally created by @PieterL75 on GitHub (Oct 7, 2022). ### NetBox version v3.2.9 ### Python version 3.9 ### Steps to Reproduce 1. Create a circuit 2. in the circuit page, create a termination (returns properly to the circuit) 3. in the circuit page, edit the termination and save ### Expected Behavior The edit page returns to the circuit or site ### Observed Behavior The edit page returns to the termination details, rather than the ciruit
adam added the type: bugstatus: revisions needed labels 2025-12-29 20:19:04 +01:00
adam closed this issue 2025-12-29 20:19:04 +01:00
Author
Owner

@jeremystretch commented on GitHub (Oct 7, 2022):

The edit page returns to the termination details, rather than the ciruit

I'm not able to reproduce this. Upon editing the circuit termination, I'm returned to the circuit view as expected. Additionally, there is no circuit termination detail view.

@jeremystretch commented on GitHub (Oct 7, 2022): > The edit page returns to the termination details, rather than the ciruit I'm not able to reproduce this. Upon editing the circuit termination, I'm returned to the circuit view as expected. Additionally, there is no circuit termination detail view.
Author
Owner

@PieterL75 commented on GitHub (Oct 7, 2022):

How bizar. On the demo instance it also works as expected. Going to look further on the exact steps I take to get this behavior

P

@PieterL75 commented on GitHub (Oct 7, 2022): How bizar. On the demo instance it also works as expected. Going to look further on the exact steps I take to get this behavior P
Author
Owner

@PieterL75 commented on GitHub (Oct 10, 2022):

I'm still running v3.2.9 and not 3.3
in 3.2.9, the edit button has this : https://netbox/circuits/circuit-terminations/2/edit/
while in 3.3.5, the url says https://netbox/circuits/circuit-terminations/2/edit/?return_url=/circuits/circuits/3/

It was added here a5124ab9c8 (diff-b5dc17ee33380308d801286d162870c4173b3f2c0180ee510acdf895720537f6) by #8511
but maybe the
https://github.com/netbox-community/netbox/blob/develop/netbox/circuits/models/circuits.py#L216
get_absolute_url needs an update ?

@PieterL75 commented on GitHub (Oct 10, 2022): I'm still running v3.2.9 and not 3.3 in 3.2.9, the edit button has this : https://netbox/circuits/circuit-terminations/2/edit/ while in 3.3.5, the url says https://netbox/circuits/circuit-terminations/2/edit/?return_url=/circuits/circuits/3/ It was added here https://github.com/netbox-community/netbox/commit/a5124ab9c835896ff434812bf870d1add82a3afe#diff-b5dc17ee33380308d801286d162870c4173b3f2c0180ee510acdf895720537f6 by #8511 but maybe the https://github.com/netbox-community/netbox/blob/develop/netbox/circuits/models/circuits.py#L216 get_absolute_url needs an update ?
Author
Owner

@PieterL75 commented on GitHub (Oct 13, 2022):

What I now noticed too :
a Termination in a table, is linked to the 'Site' or the 'Provider network.
That seems good, as long as the termination is not connected to a real port.
If the termination is connected to a Port, then the get_absolute_url should return the port/interface/device it is connected to.

Or we should be able to get 2 separate columns.. one with 'Termination site/provider' and another with 'Termination port/device'

@PieterL75 commented on GitHub (Oct 13, 2022): What I now noticed too : a Termination in a table, is linked to the 'Site' or the 'Provider network. That seems good, as long as the termination is not connected to a real port. If the termination is connected to a Port, then the get_absolute_url should return the port/interface/device it is connected to. Or we should be able to get 2 separate columns.. one with 'Termination site/provider' and another with 'Termination port/device'
Author
Owner

@jeremystretch commented on GitHub (Oct 14, 2022):

@PieterL75 possibly; we can discuss that under a separate FR.

I'm going to close this issue as the reported issue cannot be reproduced on the current release AFAICT.

@jeremystretch commented on GitHub (Oct 14, 2022): @PieterL75 possibly; we can discuss that under a separate FR. I'm going to close this issue as the reported issue cannot be reproduced on the current release AFAICT.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7088