Hi,

I developped a webform using version 8.x.5.0-beta4 and updated to beta7 to check if the problem I have with download settings was fixed.

After a few test submissions were made, I wanted to download the results.

This worked well until I saved the download settings.

Once saved, a click on the "Download" tab or drop down menu in the webforms list automatically trigger the download without ever having the possibility to review or change the download settings.

How could one change these settings once saved?
It seems the saved settings override the access to the configuration menus for all forms of my installation.

I have another instance with the module installed where I did not save the settings and all forms display the configuration page.

Thank you for your help.

Comments

FredericG created an issue. See original summary.

jrockowitz’s picture

Status: Active » Postponed (maintainer needs more info)

@FredericG I can't duplicate this issue locally.

The steps I am attempting to reproduce this is issue are...

  • Goto the Contact form. (/form/contact)
  • Create three test submissions (/webform/contact/test)
  • Goto to Results: Download (/admin/structure/webform/manage/contact/results/download)
  • Click Save Settings
  • Navigate to the 'Webforms' manage pages (/admin/structure/webform)
  • Select 'Download' from the Contact form's Drop menu.

I am also attempted the same steps on a Webform node and duplicate the problem.

FredericG’s picture

The steps you describe should allow you to duplicate the issue but it looks like it is not systematic.

I duplicated the full website to another server but I am not able to duplicate the issue either on this new installation. I can review the download settings every time I try to download forms submissions.

On the website where I have the issue, all the forms are bypassing the download settings page because I saved the settings on one of the forms.
The download is lauched as soon as I click on the drop down menu or download tab in a form's results page.

Is there a way to clear / reset the saved download settings?

jrockowitz’s picture

I am not sure what is triggering this issue.

The saved settings are stored in the 'key_value' table.

The below query will list all the saved webform states.

SELECT * FROM `key_value` WHERE collection='state' AND name LIKE 'webform.webform%'

You can run the below query to delete all the saved webform states.

DELETE FROM `key_value` WHERE collection='state' AND name LIKE 'webform.webform%'

If possible could you please export the saved webform states and upload the dump here.

jrockowitz’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)