"Export virtual machines" does not work #1239

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

Originally created by @candlerb on GitHub (Sep 17, 2017).

Issue type

[ ] Feature request
[X] Bug report
[ ] Documentation

Environment

  • Python version: 3.5.2
  • NetBox version: v2.2-beta1

Description

When I select "Export virtual machines", nothing happens - the page is just redrawn, and the URL bar changes to /virtualization/virtual-machines/?export=&export

However if I select "Export devices" then I get a downloaded file (netbox_devices.csv) as expected.

Originally created by @candlerb on GitHub (Sep 17, 2017). ### Issue type [ ] Feature request <!-- Requesting the implementation of a new feature --> [X] Bug report <!-- Reporting unexpected or erroneous behavior --> [ ] Documentation <!-- Proposing a modification to the documentation --> ### Environment * Python version: 3.5.2 * NetBox version: v2.2-beta1 ### Description When I select "Export virtual machines", nothing happens - the page is just redrawn, and the URL bar changes to `/virtualization/virtual-machines/?export=&export` However if I select "Export devices" then I get a downloaded file (`netbox_devices.csv`) as expected.
adam added the type: bug label 2025-12-29 16:30:28 +01:00
adam closed this issue 2025-12-29 16:30:28 +01:00
Author
Owner

@jeremystretch commented on GitHub (Sep 18, 2017):

Model is missing the csv_headers property and the to_csv() method needed for export. Same issue with Clusters.

@jeremystretch commented on GitHub (Sep 18, 2017): Model is missing the `csv_headers` property and the `to_csv()` method needed for export. Same issue with Clusters.
Author
Owner

@jeremystretch commented on GitHub (Sep 18, 2017):

Fixed in 9927ce1

@jeremystretch commented on GitHub (Sep 18, 2017): Fixed in 9927ce1
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1239