Power feed input form missing rack_group, export doesn't insert a blank value for the field #2973

Closed
opened 2025-12-29 18:24:15 +01:00 by adam · 1 comment
Owner

Originally created by @bellwood on GitHub (Oct 24, 2019).

Environment

  • Python version: 3.6.9
  • NetBox version: 2.6.6

Steps to Reproduce

  1. Add a new power feed using the form, fill all fields
  2. Export power feeds

Expected Behavior

rack_group, which is an optional input and is not present on the form, this field should be empty in the CSV

Actual Behavior

rack_group in the CSV takes on the value for rack_name and all field values shift left (vs a null value being present for rack_group)

Suggested fix

Add "rack_group" to the input form and ensure that nulls are inserted into exports where optional fields are blank

Originally created by @bellwood on GitHub (Oct 24, 2019). ### Environment * Python version: 3.6.9 * NetBox version: 2.6.6 ### Steps to Reproduce 1. Add a new power feed using the form, fill all fields 2. Export power feeds <!-- What did you expect to happen? --> ### Expected Behavior rack_group, which is an optional input and is not present on the form, this field should be empty in the CSV <!-- What happened instead? --> ### Actual Behavior rack_group in the CSV takes on the value for rack_name and all field values shift left (vs a null value being present for rack_group) ### Suggested fix Add "rack_group" to the input form and ensure that nulls are inserted into exports where optional fields are blank
adam added the type: bugstatus: accepted labels 2025-12-29 18:24:15 +01:00
adam closed this issue 2025-12-29 18:24:15 +01:00
Author
Owner

@bellwood commented on GitHub (Oct 28, 2019):

Just wanted to bump this.

Applied the commit locally, restarted Netbox and while the CSV does now include rack_group, when viewing the powerfeed, rack_group is still missing.

If you'd like a separate bug report, I'm glad to do so.

Edit: opened #3647 for this

@bellwood commented on GitHub (Oct 28, 2019): Just wanted to bump this. Applied the commit locally, restarted Netbox and while the CSV does now include rack_group, when viewing the powerfeed, rack_group is still missing. ~~If you'd like a separate bug report, I'm glad to do so.~~ Edit: opened #3647 for this
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2973