Device export: Wrong field name "rack_name" #3958

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

Originally created by @dreng on GitHub (Aug 7, 2020).

Environment

  • Python version: 3.7.3
  • NetBox version: 2.8.8

Steps to Reproduce

  1. Navigate to "devices"
  2. Click "Export" in the upper right corner
  3. Notice field name "rack_name"

Expected Behavior

Field name should be "rack" instead of "rack_name" as it is required to be like that when you import devices.

Originally created by @dreng on GitHub (Aug 7, 2020). ### Environment * Python version: 3.7.3 * NetBox version: 2.8.8 ### Steps to Reproduce 1. Navigate to "devices" 2. Click "Export" in the upper right corner 3. Notice field name "rack_name" ### Expected Behavior Field name should be "rack" instead of "rack_name" as it is required to be like that when you import devices.
adam closed this issue 2025-12-29 18:32:17 +01:00
Author
Owner

@lampwins commented on GitHub (Aug 10, 2020):

As pointed out in #4429 there is not always going to be consistency in the import and export field names for a model.

@lampwins commented on GitHub (Aug 10, 2020): As pointed out in #4429 there is not always going to be consistency in the import and export field names for a model.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3958