Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have create a view and added data export attached to pages that have rows, But the exported files is empty.
I am using drupal 8.2, installed required libraries using composer, install the module via drush so all dependencies installed successfully.
Does it a bug or what I missed.
Comments
Comment #2
theemstra CreditAttribution: theemstra at XSbyte commentedPlease add more information, so we can reproduce.
I cannot reproduce myself, works on my 8.x dev installation
Comment #3
WebbehHm, I'm seeing something similar, where the Data Export display on an existing, working table-based view is showing an empty query and an empty output file; the other, table display otherwise shows fine.
Recreating the view's export data in a separate view, however, works.
I have the config export of the broken view and the working view, if that's helpful.
Comment #4
dzinkevich CreditAttribution: dzinkevich commentedI'm seeing this too. I've narrowed down to it being related to an exposed filter for status/published being set to "Any" - this creates an empty file (and also logs an "illegal choice on status field" in dblog). Setting the filter to true/false produces the results you'd expect.
Comment #5
dzinkevich CreditAttribution: dzinkevich commentedI was able to solve my problem via https://www.drupal.org/project/views_data_export/issues/2998481 - I had initially copied all the filters, but I made one on the views table not required without matching the views data export. Hopefully this helps someone else as well!