DeviceType export button mentions CSV instead of YAML #3413

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

Originally created by @u1735067 on GitHub (Feb 26, 2020).

Originally assigned to: @jeremystretch on GitHub.

Environment

  • Python version: 3.7-alpine (docker)
  • NetBox version: 2.7.8-ldap (docker)

Steps to Reproduce

  1. Go to device-types list: /dcim/device-types/
  2. Click Export button

Expected Behavior

To see YAML (default)

Observed Behavior

I see CSV (default)

Notes:

This is following https://github.com/netbox-community/netbox/issues/3801.

I guess the related files are:

Originally created by @u1735067 on GitHub (Feb 26, 2020). Originally assigned to: @jeremystretch on GitHub. ### Environment * Python version: 3.7-alpine (docker) * NetBox version: 2.7.8-ldap (docker) <!-- Describe in detail the exact steps that someone else can take to reproduce this bug using the current stable release of NetBox (or the current beta release where applicable). Begin with the creation of any necessary database objects and call out every operation being performed explicitly. If reporting a bug in the REST API, be sure to reconstruct the raw HTTP request(s) being made: Don't rely on a wrapper like pynetbox. --> ### Steps to Reproduce 1. Go to device-types list: /dcim/device-types/ 2. Click `Export` button <!-- What did you expect to happen? --> ### Expected Behavior To see `YAML (default)` <!-- What happened instead? --> ### Observed Behavior I see `CSV (default)` ### Notes: This is following https://github.com/netbox-community/netbox/issues/3801. I guess the related files are: * https://github.com/netbox-community/netbox/blob/v2.7.8/netbox/dcim/views.py#L563 * https://github.com/netbox-community/netbox/blob/v2.7.8/netbox/utilities/views.py#L60 * https://github.com/netbox-community/netbox/blob/v2.7.8/netbox/extras/models.py#L576 * https://github.com/netbox-community/netbox/blob/v2.7.8/netbox/utilities/templates/buttons/export.html
adam added the type: bugstatus: accepted labels 2025-12-29 18:28:51 +01:00
adam closed this issue 2025-12-29 18:28:52 +01:00
Author
Owner

@jeremystretch commented on GitHub (Feb 26, 2020):

Note: To reproduce this, you must have at least one export template defined for device types.

@jeremystretch commented on GitHub (Feb 26, 2020): Note: To reproduce this, you must have at least one export template defined for device types.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3413