UI: Cable Trace button has incorrect URL for power-port & power-outlet models #11342
Labels
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
NetBox version
v3.4.1
Python version
3.8
Steps to Reproduce
/dcim/power-ports/{id}
or/dcim/power-outlets/{id}
)/dcim/interfaces
instead of/dcim/power-ports
or/dcim/power-outlets
Expected Behavior
Expect the cable trace button to trace the power cable, and not some other random interface (which may or may not actually be connected, and hence might throw an error).
Observed Behavior
The Cable Trace button should be referencing
/dcim/(power-ports|power-outlets)/{id}/trace/
but instead it references/dcim/interfaces/{id}/trace/
. I poked through the code a little bit but I couldn't figure out where/how it is building the URL (possibly due to my very limited Python skill).The text was updated successfully, but these errors were encountered: