Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Export virtual machines" does not work #1502

Closed
candlerb opened this issue Sep 16, 2017 · 2 comments
Closed

"Export virtual machines" does not work #1502

candlerb opened this issue Sep 16, 2017 · 2 comments
Labels
type: bug A confirmed report of unexpected behavior in the application

Comments

@candlerb
Copy link
Contributor

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.

@jeremystretch
Copy link
Member

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

@jeremystretch
Copy link
Member

Fixed in 9927ce1

@jeremystretch jeremystretch added beta type: bug A confirmed report of unexpected behavior in the application labels Sep 18, 2017
lampwins pushed a commit to lampwins/netbox that referenced this issue Oct 13, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants