I think I got a way to trigger this bug.
My webform is very long and i have selected the option 'Automatically save as draft when paging, previewing, and when there are validation errors.' in my webform > parameters > Submissions > Submission Draft Settings.
For some required fields, there is no html validation (a checkboxes field in my case).
So when i submit the form (i realy mean submit, not save as draft) with this field not completed, it is send in ajax, validated server side, saved (due to the config) and a error message is display (the field is required).
Then i fill the required field and re-submit the form.
And this way, i got the error Integrity constraint violation: 1062 Duplicate entry '6f0cd0e6-da2d-4b44-a604-be9a5e706366' for key 'webform_submission_field__uuid__value'Hope this will help.
- π¬π§United Kingdom wturrell
FYI, I continue to successfully use the four-year-old patch.
(minor reroll attached, in use with webform 6.2.0-beta4)
- Status changed to Needs review
9 months ago 12:30pm 8 April 2024 - πΊπΈUnited States jrockowitz Brooklyn, NY
Marking needs review based on #33.