Regression from #3898 on device detail #3155

Closed
opened 2025-12-29 18:26:11 +01:00 by adam · 2 comments
Owner

Originally created by @hSaria on GitHub (Jan 13, 2020).

Environment

  • Python version: 3.6.8
  • NetBox version: 2.6.12

Steps to Reproduce

  1. Create two devices with an interface
  2. Connect the two interfaces
  3. Go to device detail page

Expected Behavior

Page loads

Observed Behavior

Exception 'Cable' object has no attribute '_pk'

Originally created by @hSaria on GitHub (Jan 13, 2020). ### Environment * Python version: 3.6.8 * NetBox version: 2.6.12 ### Steps to Reproduce 1. Create two devices with an interface 2. Connect the two interfaces 3. Go to device detail page ### Expected Behavior Page loads ### Observed Behavior Exception `'Cable' object has no attribute '_pk'`
adam closed this issue 2025-12-29 18:26:11 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jan 13, 2020):

I'm not able to recreate this. I can create a new cable and view it as well as both devices normally. Is there some other step you're taking to produce this?

@jeremystretch commented on GitHub (Jan 13, 2020): I'm not able to recreate this. I can create a new cable and view it as well as both devices normally. Is there some other step you're taking to produce this?
Author
Owner

@hSaria commented on GitHub (Jan 13, 2020):

Apologies. I think I was accidentally running it off of the test branch. Again, sorry.

@hSaria commented on GitHub (Jan 13, 2020): Apologies. I think I was accidentally running it off of the test branch. Again, sorry.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3155