Closed (duplicate)
Project:
Views data export
Version:
7.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Mar 2012 at 04:58 UTC
Updated:
27 May 2013 at 06:45 UTC
Theme and template preprocess functions override are not called when it is run under Batched export. Exporting data in single segment and live preview do not have problem.
To reproduce:
- create a data export views, select CSV
- create a custom module or theme to override the template_preprocess_views_data_export(), like appending a value
- works in live preview and single segment export
- do not works with batched export
Comments
Comment #1
steven jones commentedI think this would be because the batch system sadly doesn't use the same theme that your frontend uses. This is a Drupal core bug: #539022: Batch API should use the current theme to run the batches and should get resolved over there, sorry!