Adding Power Ports to multiple Devices Fails #5025

Closed
opened 2025-12-29 19:23:17 +01:00 by adam · 2 comments
Owner

Originally created by @AnneWielis on GitHub (Jun 22, 2021).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v2.11.7

Python version

3.8

Steps to Reproduce

  1. select multiple devices (in my cases: a bunch of switches)
  2. choose "Add Components -> Power Ports"
  3. Specify some data (name, title, power conumption data, type)
  4. Save
    Skærmbillede fra 2021-06-22 15-22-59

Expected Behavior

Should work

Observed Behavior

There was a problem with your request. Please contact an administrator.

The complete exception is provided below:

<class 'AttributeError'>

'PowerPort' object has no attribute 'parent'

Python version: 3.8.5
NetBox version: 2.11.7

Originally created by @AnneWielis on GitHub (Jun 22, 2021). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v2.11.7 ### Python version 3.8 ### Steps to Reproduce 1. select multiple devices (in my cases: a bunch of switches) 2. choose "Add Components -> Power Ports" 3. Specify some data (name, title, power conumption data, type) 4. Save ![Skærmbillede fra 2021-06-22 15-22-59](https://user-images.githubusercontent.com/41674213/122932314-eb72d700-d36d-11eb-8e49-c56163147de2.png) ### Expected Behavior Should work ### Observed Behavior There was a problem with your request. Please contact an administrator. The complete exception is provided below: <class 'AttributeError'> 'PowerPort' object has no attribute 'parent' Python version: 3.8.5 NetBox version: 2.11.7
adam added the type: bugstatus: accepted labels 2025-12-29 19:23:17 +01:00
adam closed this issue 2025-12-29 19:23:17 +01:00
Author
Owner

@AnneWielis commented on GitHub (Jun 22, 2021):

OK, that was really quick. Thanks for looking into it.

@AnneWielis commented on GitHub (Jun 22, 2021): OK, that was _really_ quick. Thanks for looking into it.
Author
Owner

@jeremystretch commented on GitHub (Jun 22, 2021):

Thanks for the bug report!

@jeremystretch commented on GitHub (Jun 22, 2021): Thanks for the bug report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5025