Cannot delete cable linked to PowerFeeds #3529

Closed
opened 2025-12-29 18:29:42 +01:00 by adam · 0 comments
Owner

Originally created by @coloHsq on GitHub (Apr 2, 2020).

Environment

  • Python version: 3.6.7
  • NetBox version: 2.7.11

Steps to Reproduce

  1. Just try to delete a cable connected to a PowerFeed.

Expected Behavior

The cable should be deleted without problems.

Observed Behavior

A missing attribute error is raised : 'PowerFeed' object has no attribute 'parent'.
Looking at stack trace and code, the problem seems to be caused (and confined) by a logger in cable termination trace method, as it tries to write info about the termination parent, which however does not exist for PowerFeeds.

Originally created by @coloHsq on GitHub (Apr 2, 2020). ### Environment * Python version: 3.6.7 * NetBox version: 2.7.11 ### Steps to Reproduce 1. Just try to delete a cable connected to a PowerFeed. ### Expected Behavior The cable should be deleted without problems. ### Observed Behavior A missing attribute error is raised : 'PowerFeed' object has no attribute 'parent'. Looking at stack trace and code, the problem seems to be caused (and confined) by a logger in cable termination trace method, as it tries to write info about the termination parent, which however does not exist for PowerFeeds.
adam added the type: bugstatus: accepted labels 2025-12-29 18:29:42 +01:00
adam closed this issue 2025-12-29 18:29:44 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3529