Open laryn opened 6 years ago
This happens in the same way with Webform 4.x and the Drupal version. Also filed here: https://www.drupal.org/project/webform_registration/issues/3009396
Can confirm that this may have to do with the fact that the webform submission gets attached to the new user, but the person filling the form is still anonymous. If email confirmation is not required in user account settings, they are logged in automatically and the confirmation page displays as expected.
One possibility would be to add a setting to log the user in immediately at the end of the process. (Then they wouldn't get access denied on the confirmation page).
There is a patch that needs testing on the Drupal issue:
Last known issue is that the anonymous submission works and gives the success message, but then goes to an "Access Denied" page.
Interestingly, the URL is something like this:
node/X/done?sid=22&token=b14d402e5ead227b37bdce736b7ecd15
and if I test by removing the query parameters (e.g.node/X/done
) it loads the thank you text correctly.As a test I gave anonymous the Access own webform submissions permission but it didn't help.
Further followup, if I remove the sid query and leave the token, it also gives the thank you text.
And if I disable Webform Registration and submit, it loads fine with the sid in the URL (as expected).
Setting an custom URL on the webform rather than a default webform confirmation page seems to work.