Missing connection details below cable on several objects views since v3.3 #7021

Closed
opened 2025-12-29 19:47:59 +01:00 by adam · 4 comments
Owner

Originally created by @phurrelmann on GitHub (Sep 26, 2022).

Originally assigned to: @phurrelmann, @jeremystretch on GitHub.

NetBox version

v3.3.4

Python version

3.10

Steps to Reproduce

As Netbox 3.3 introduced multi-connection cables some parts weren't updated to the new code and the following templates are not showing any connection detail below "Cable".

  • consoleport
  • consoleserverport
  • interface
  • powerfeed
  • poweroutlet
  • powerport

The powerfeed view additionally lacks to power usage and the capacity graph.

I already have a PR ready and are happy to submit if this bug is accepted.

Expected Behavior

Connection details are again visible below Cable on the views/templates for:

  • consoleport
  • consoleserverport
  • interface
  • powerfeed
  • poweroutlet
  • powerport

Power usage and the capacity graph are visible on the powerfeed again.

Examples for fixed views:

powerfeed_fixed

powerport_fixed

Observed Behavior

The mentioned templates/view only show the cable itself, but no connection details and status.
Powerfeed doesn't show the connected device and only show N/A as power usage.

Examples of broken views:

powerfeed_broken

powerport_broken

Originally created by @phurrelmann on GitHub (Sep 26, 2022). Originally assigned to: @phurrelmann, @jeremystretch on GitHub. ### NetBox version v3.3.4 ### Python version 3.10 ### Steps to Reproduce As Netbox 3.3 introduced multi-connection cables some parts weren't updated to the new code and the following templates are not showing any connection detail below "Cable". - consoleport - consoleserverport - interface - powerfeed - poweroutlet - powerport The powerfeed view additionally lacks to power usage and the capacity graph. I already have a PR ready and are happy to submit if this bug is accepted. ### Expected Behavior Connection details are again visible below Cable on the views/templates for: - consoleport - consoleserverport - interface - powerfeed - poweroutlet - powerport Power usage and the capacity graph are visible on the powerfeed again. Examples for fixed views: ![powerfeed_fixed](https://user-images.githubusercontent.com/10113716/192275761-b9faebba-185f-4ab5-bb9a-270731bf240b.png) ![powerport_fixed](https://user-images.githubusercontent.com/10113716/192275806-722f3b19-d1aa-47db-a0a4-ef3dd0fb7b66.png) ### Observed Behavior The mentioned templates/view only show the cable itself, but no connection details and status. Powerfeed doesn't show the connected device and only show N/A as power usage. Examples of broken views: ![powerfeed_broken](https://user-images.githubusercontent.com/10113716/192275931-59fd73a8-25a5-49e2-97ac-459ce23a9fd0.png) ![powerport_broken](https://user-images.githubusercontent.com/10113716/192275961-47c016e7-cec7-486c-8112-3d57c58cff27.png)
adam added the type: bugstatus: accepted labels 2025-12-29 19:48:00 +01:00
adam closed this issue 2025-12-29 19:48:00 +01:00
Author
Owner

@jeremystretch commented on GitHub (Sep 26, 2022):

I already have a PR ready and are happy to submit if this bug is accepted.

Thanks @phurrelmann!

@jeremystretch commented on GitHub (Sep 26, 2022): > I already have a PR ready and are happy to submit if this bug is accepted. Thanks @phurrelmann!
Author
Owner

@phurrelmann commented on GitHub (Sep 27, 2022):

I just submitted a PR for this. Please consider it as a "hack". It works for me, but may not be the correct or intended fix as I'm lacking in details knowledge on Django.

@phurrelmann commented on GitHub (Sep 27, 2022): I just submitted a PR for this. Please consider it as a "hack". It works for me, but may not be the correct or intended fix as I'm lacking in details knowledge on Django.
Author
Owner

@phurrelmann commented on GitHub (Oct 4, 2022):

@jeremystretch I fear this is incomplete. The power usage calculation (utilization allocated) and the connected device on the powerfeed is still missing after your last commit. My PR had a fix for that. See the first screenshot for the fixed view.

@phurrelmann commented on GitHub (Oct 4, 2022): @jeremystretch I fear this is incomplete. The power usage calculation (utilization allocated) and the connected device on the powerfeed is still missing after your last commit. My PR had a fix for that. See the first screenshot for the fixed view.
Author
Owner

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

@phurrelmann thanks, I missed that bit! Fixed in 53f5f4603. Thanks for the heads up!

@jeremystretch commented on GitHub (Oct 4, 2022): @phurrelmann thanks, I missed that bit! Fixed in 53f5f4603. Thanks for the heads up!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7021