Problem/Motivation
A user who is not logged in goes to an administrative listing after they delete their form submission using a token.
Steps to reproduce
* create a webform with token form submission deletion
* go to the form as an unregistered user
* create a submission
* edit your submission
* delete the submission
You will find yourself on an unhelpful page.
Proposed resolution
Patch from https://www.drupal.org/project/webform/issues/3158114 by https://www.drupal.org/u/itssimple
Remaining tasks
Create new patch for new version of webform.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 3215887-7.patch | 1.07 KB | loopy1492 |
| #4 | webform.webform.issue_3215887.yml | 4.94 KB | jrockowitz |
| #2 | 3215887-1.patch | 1.09 KB | loopy1492 |
Comments
Comment #2
loopy1492 commentedComment #3
loopy1492 commentedI have tested this locally and it seems to work. It redirects the user back to the blank form. Thanks again to https://www.drupal.org/u/itssimple
Comment #4
jrockowitz commentedI am not able to replicate this issue using the attached webform. When I go to the delete URL on the confirmation page, it redirects beck to the webform.
Comment #5
jrockowitz commentedI did find #3216393: Token is not appended to delete submission URL when viewing a submission
Comment #6
jrockowitz commentedComment #7
loopy1492 commentedUploading a new patch which should theoretically apply with the new version.