- ๐ฌ๐งUnited Kingdom steven jones
Wow, yeah, this seems like quite a big oversight. This should be relatively easy to add a test for too.
Hi,
I have noticed file is not downloaded, after debuggin found it was caused by the regex in the views_data_export_file_access
So here is the pattern:
$pattern = '/\/\/views_data_export\/(?<uid>\d+)-\d+-.+\.csv$/';
but the file uri is like this:
private://views_data_export/view_name_view_display_id/uid-numbers/filename.extention
to match it we need the next regex:
$pattern = '/\/\/views_data_export\/.*\/(?<uid>\d+)-\d+.+\.*$/';
Module version: 8.x-1.0
Needs work
1.0
Code
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Wow, yeah, this seems like quite a big oversight. This should be relatively easy to add a test for too.