- Status changed to Active
about 2 months ago 5:14pm 25 June 2025 - 🇮🇹Italy maurizio.ganovelli Arezzo
I got into this issue too and after a bit of debugging i found that the cause could be the query access check set to TRUE by default in WebformSubmissionExporter class (at line 298, used then at line 958).
A quick and dirty solution is to add a line of code in the WebformResultsExportController controller$default_options['access_check'] = FALSE;
right before line 105.
I think that an user that has already access to that interface should be able to download all the submissions listed but i'm not sure if this could have some unwanted side effects. - 🇺🇸United States droath
@maurizio.ganovelli
This was my inclination as well when I reviewed the code. I've created a patch for anyone who wants to try this solution.
- 🇮🇹Italy maurizio.ganovelli Arezzo
Hi droath, thank you, your patch is the same i applied locally. I have been using it in a production environment for months and have not encountered any errors or malfunctions yet.