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

Recent comments

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.69.0 2024