- π¬π§United Kingdom steven jones
I can't reproduce this using the latest versions of Drupal and Views data export. I'm assuming that this was a bug in views or something and has since been fixed.
I want to export csv files in Drupal 9.1x. There are 2 issues:
1. when I use [date:html_date] inj the file name I get the below error.
2. I get a file save dialog on my computer instead of stoting the file on the host in the private directory.
Create view. When I export, I get
The website encountered an unexpected error. Please try again later.</br></br><em class="placeholder">LogicException</em>: The controller result claims to be providing relevant cache metadata, but leaked metadata was detected. Please ensure you are not rendering content too early. Returned object class: Drupal\Core\Cache\CacheableResponse. in <em class="placeholder">Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()</em> (line <em class="placeholder">154</em> of <em class="placeholder">core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php</em>).
using filename [date:html_date]-MailingList
Removing "[date:html_date]-" eliminated the error. But the file downloaded instead of (presumably) being stored in the porivate files directory.
Store file in public files directory
Check this if you want to store the export files in the public:// files directory instead of the private:// files directory.
was unchecked.
Closed: cannot reproduce
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I can't reproduce this using the latest versions of Drupal and Views data export. I'm assuming that this was a bug in views or something and has since been fixed.