Symfony\Component\Validator\Exception\LogicException: The LangcodeRequiredIfTranslatableValues constraint can only operate on the root object being validated

Created on 25 May 2024, 28 days ago
Updated 22 June 2024, about 8 hours ago

Problem/Motivation

When I try to arrange text formats and editors settings I get the following error.

Symfony\Component\Validator\Exception\LogicException: The LangcodeRequiredIfTranslatableValues constraint can only operate on the root object being validated. in Drupal\Core\Config\Plugin\Validation\Constraint\LangcodeRequiredIfTranslatableValuesConstraintValidator->validate() (line 26 of var/www/html/mysite/web/core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraintValidator.php).
🐛 Bug report
Status

Active

Version

10.3

Component
CKEditor 5 

Last updated 1 minute ago

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @jaydenpearly
  • 🇮🇹Italy kopeboy Mainland

    I can confirm I'm having this error twice now (on two different sites), and it doesn't allow me to change any text format configuration that has CKEditor5 anymore.

    Drupal 10.2.6 doesn't have this. This doesn't come out of the box but after playing around with CKEditor toolbar or removing a text format.

  • 🇵🇱Poland pingwin_cracow

    Confirmed, I have the same problem after updating to Drupal 10.3.0-beta1
    Exactly the same errors mentioned above.

  • 🇺🇸United States cilefen
  • 🇵🇱Poland pingwin_cracow

    I updated to Drupal 10.3.0 and the problem still persists which is very irritating.
    Is there a chance for a quick solution so that I can edit the text format settings?

  • 🇺🇸United States cilefen

    Yes. Performing a git bisect on a checkout of Drupal Core between a good and bad release tag will quickly find the issue that introduced the regression.

  • First commit to issue fork.
Production build 0.69.0 2024