Rack exports "Descending units" value blank if set to False #866

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

Originally created by @bellwood on GitHub (Apr 14, 2017).

When you export a rack the "Descending units" column is not present.

IIRC export templates are stored in PG so this will need a migration to fix.

Originally created by @bellwood on GitHub (Apr 14, 2017). When you export a rack the "Descending units" column is not present. IIRC export templates are stored in PG so this will need a migration to fix.
adam closed this issue 2025-12-29 16:26:28 +01:00
Author
Owner

@bellwood commented on GitHub (Apr 14, 2017):

So, the column actually is there, but it is blank if the rack uses False for the field.

If the rack does have Descending Units then True is displayed in this field.

The issue is, without a False being the field and it being the last column when you re-export the csv, that column is omitted and adds the need to massage the data to reimport it.

@bellwood commented on GitHub (Apr 14, 2017): So, the column actually is there, but it is blank if the rack uses False for the field. If the rack does have Descending Units then True is displayed in this field. The issue is, without a False being the field and it being the last column when you re-export the csv, that column is omitted and adds the need to massage the data to reimport it.
Author
Owner

@jeremystretch commented on GitHub (Apr 17, 2017):

This is just the nature of CSV. The same thing is true for objects for which the last field is an optional description. #655 will address this.

@jeremystretch commented on GitHub (Apr 17, 2017): This is just the nature of CSV. The same thing is true for objects for which the last field is an optional description. #655 will address this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#866