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

Power and console cables status isn't shown correctly #17851

Open
Pesk0v opened this issue Oct 24, 2024 · 2 comments
Open

Power and console cables status isn't shown correctly #17851

Pesk0v opened this issue Oct 24, 2024 · 2 comments
Labels
status: revisions needed This issue requires additional information to be actionable type: bug A confirmed report of unexpected behavior in the application

Comments

@Pesk0v
Copy link

Pesk0v commented Oct 24, 2024

Deployment Type

Self-hosted

Triage priority

N/A

NetBox Version

4.0.2

Python Version

3.12

Steps to Reproduce

The problem occurs only for console ports and power ports. Connected ports on the Power Ports, Power Outlets, Console Ports, Console Server Ports tabs are not highlighted in color, no matter what cable status set ('Installed' or 'Planned').

Expected Behavior

Right after a cable is created to connect two ports, the rows corresponding to connected ports are expected to be highlighted in green by default. The toggle should be orange and change cable status from 'Installed' to 'Planned'.

Observed Behavior

Once a cable for connection two either console or power ports has been created, the port (in tabs Power Ports, Power Outlets, Console Ports, Console Server Ports) which the cable is connected to is shown like it wouldn't be connected though the connection is correctly indicated in row. At that there is the 'Mark Installed' blue button in the port row.
image
When clicking on the button everything seems back to normality, i.e. the row is highlighted in green, and the blue toggle turns orange toggle switching port status into 'Mark Planned'. In other words the toggle gets working as expected, switching the cable status between 'Planned' and 'Installed' with the correct color highlighting of the port row.
But all rows corresponding to the connected ports are not highlighted again and everything returns to the abnormal state when pressing F5 (refresh screen) or reopening the tab.
Worth noting that interface ports are not affected by this problem.

@Pesk0v Pesk0v added status: needs triage This issue is awaiting triage by a maintainer type: bug A confirmed report of unexpected behavior in the application labels Oct 24, 2024
@arthanson arthanson added status: revisions needed This issue requires additional information to be actionable and removed status: needs triage This issue is awaiting triage by a maintainer labels Oct 25, 2024
@arthanson
Copy link
Collaborator

@Pesk0v Thank you for the bug report, can you please add more reproduction steps to this. It's not clear in the steps to reproduce exactly what you are doing to see the problem.

Unfortunately, the information you have provided is not sufficient for someone else to attempt to reproduce the reported behavior. Remember, each bug report must include detailed steps that someone else can follow on a clean, empty NetBox installation to reproduce the exact problem you're experiencing. These instructions should include the creation of any involved objects, any configuration changes, and complete accounting of the actions being taken. Also be sure that your report does not reference data on the public NetBox demo, as that is subject to change at any time by an outside party and cannot be relied upon for bug reports.

This is what I'm seeing:
PP:B117 | NetBox 2024-10-25 07-46-42

@Pesk0v
Copy link
Author

Pesk0v commented Oct 25, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: revisions needed This issue requires additional information to be actionable type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants