It's now possible to create uneditable cables, that 1-side connected #7984

Closed
opened 2025-12-29 20:30:51 +01:00 by adam · 4 comments
Owner

Originally created by @stavr666 on GitHub (May 2, 2023).

NetBox version

v3.5.0

Python version

3.10

Steps to Reproduce

Found it in today's Demo.

Cables with id 1-33, 87-92 have no A-side device or termination:

image

It causes server error with Edit attempt.

Expected Behavior

Pressing Edit must open Cable Edit form, validating connection on save.

Observed Behavior

Error "'str' object has no attribute 'label'":

image

Originally created by @stavr666 on GitHub (May 2, 2023). ### NetBox version v3.5.0 ### Python version 3.10 ### Steps to Reproduce Found it in today's [Demo](https://demo.netbox.dev/). Cables with id 1-33, 87-92 have no A-side device or termination: ![image](https://user-images.githubusercontent.com/84839985/235781701-0d0d09c1-8b46-4c46-a25e-781886051e5e.png) It causes server error with Edit attempt. ### Expected Behavior Pressing Edit must open Cable Edit form, validating connection on save. ### Observed Behavior Error "'str' object has no attribute 'label'": ![image](https://user-images.githubusercontent.com/84839985/235782599-4bdf3799-4aa3-4375-b717-c3e0755512e8.png)
adam added the type: bugstatus: duplicatetopic: cablingseverity: medium labels 2025-12-29 20:30:51 +01:00
adam closed this issue 2025-12-29 20:30:51 +01:00
Author
Owner

@jeremystretch commented on GitHub (May 2, 2023):

Thank you for opening a bug report. 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.

@jeremystretch commented on GitHub (May 2, 2023): Thank you for opening a bug report. 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.
Author
Owner

@stuntguy3000 commented on GitHub (May 3, 2023):

I reckon it's a demo data problem - Null devices are specified for these cable terminations. Unable to find a way to make a cable w/out one end being terminated from the GUI.

Example of one:
image

@stuntguy3000 commented on GitHub (May 3, 2023): I reckon it's a demo data problem - Null devices are specified for these cable terminations. Unable to find a way to make a cable w/out one end being terminated from the GUI. Example of one: ![image](https://user-images.githubusercontent.com/1522389/235818203-f6176a97-0776-4501-a76c-0daa92e720e9.png)
Author
Owner

@ThomasADavis commented on GitHub (May 3, 2023):

Create the cable, then on one end disconnect it - this is not the same as editing or deleting the cable. Presto, one end connected, the other null. To get a null/null cable, you need to use the API.. and yes, it's possible to get some of those..

@ThomasADavis commented on GitHub (May 3, 2023): Create the cable, then on one end disconnect it - this is not the same as editing or deleting the cable. Presto, one end connected, the other null. To get a null/null cable, you need to use the API.. and yes, it's possible to get some of those..
Author
Owner

@DanSheps commented on GitHub (Jun 26, 2023):

Duplicate of #11460

@DanSheps commented on GitHub (Jun 26, 2023): Duplicate of #11460
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7984