The views_data_export_plugin_display_export::outputfile_path() method performs a check on either the _output_file property AND the file ID that only exists on batched requests.

So if the second check fails, this method returns $this->_output_file->uri which does not exist because the first check already stated that the _output_file property was empty.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

B-Prod’s picture

Status: Active » Needs review
FileSize
2.68 KB

The patch below fixes this issue.

Status: Needs review » Needs work

The last submitted patch, filecache-recursive-calls-to-chdir-causes-errors-1778468-1.patch, failed testing.

B-Prod’s picture

Status: Needs work » Needs review

I cloned the DEV repository then applied the patch with success, so the patch is applicable. The log details from the automatic test bot is too generic and does not help...

rfay’s picture

@B-Prod, this is views_data_export module, and I think you're providing a patch for filecache module... That's why it doesn't apply.

B-Prod’s picture

@rfay, sorry, lost my mind sometimes...

The correct patch is attached below.

Steven Jones’s picture

Steven Jones’s picture

Status: Needs review » Fixed

Thanks for the patch! Committed and pushed to 7.x-3.x

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.