@marieAscomedia

Account created on 11 December 2014, over 10 years ago
#

Recent comments

For me this problem was due to the maintenance mode of our web host.
Puting back the site inline solved the problem.

Drupal 10.3.10 and Webform submission delete 8.x-1.1, works fine for me too.
Thanks

Got the issue with drupal 10.2.7 and Olivero child theme.
Same settings as #7.
The patch in #3 helped me to.

It seem that I use this version of the patch :
https://www.drupal.org/files/issues/2019-07-31/extra_field-using_in_form...

I will try your option with the container and let you know the result.
Thank you.

Got the same problem on a Drupal 9.5.9 / 9.5.10, migrated from a 8.x, when tring to add a file in a file field in a node.
No custom code in this content type.

Patch #15 work for me.
Thanks.

Same problem.
I make it work replacing

    $route_name = $this->pathMatcher->isFrontPage() ? '<front>' : '<current>';
    $type = $this->getDerivativeId();
    $links = $this->languageManager->getLanguageSwitchLinks(
      $type,
      Url::fromRoute($route_name)
    );

with

    $type = $this->getDerivativeId();
    $route_match = \Drupal::routeMatch();
    $url = $route_match->getRouteObject() ? Url::fromRouteMatch($route_match) : Url::fromRoute('<front>');
    $links = $this->languageManager->getLanguageSwitchLinks(
      $type,
      $url
    );

in src/Plugin/Block/LangDropBootstrapBlock.php

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&#039

Hope this will help.

Production build 0.71.5 2024