Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can no longer save the Standard text formatter and editor configuration form #3599

Closed
trackleft opened this issue Aug 2, 2024 · 0 comments · Fixed by #3600
Closed

Can no longer save the Standard text formatter and editor configuration form #3599

trackleft opened this issue Aug 2, 2024 · 0 comments · Fixed by #3600
Labels
2.11.x only bug Something isn't working patch release Issues to be included in the next patch release

Comments

@trackleft
Copy link
Member

trackleft commented Aug 2, 2024

Problem/Motivation

Since Drupal 10.3 (QS 2.11.x and main) there is an error when saving the config form for text formats in Quickstart.

When saving the form I see the following error.

The website encountered an unexpected error. Try again later.

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 core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraintValidator.php).

When I try to save the Basic HTML formatter/editor i see this error

'table_remove_width_height' is an unknown key because filters.bootstrap_utilities_table_filter.id is bootstrap_utilities_table_filter (see config schema type filter_settings.*).
image

Describe the bug

I can't save the standard formatter.

To Reproduce

  1. Go to /admin/config/content/formats
  2. Using the operations links, click configure for one of the mentioned text formats
  3. Scroll to the bottom of the form and click save.
  4. See errors.

Proposed resolution

Add patches to fix the schema for these plugins.

  • bootstrap_utilities
  • ckeditor_indentblock

Expected behavior

I should be allowed to edit my text formats and editors.

Additional context

See: https://www.drupal.org/project/bootstrap_utilities/issues/3301133
See: https://www.drupal.org/project/ckeditor_indentblock/issues/3457094
See: https://www.drupal.org/project/drupal/issues/3449851

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.11.x only bug Something isn't working patch release Issues to be included in the next patch release
Projects
None yet
1 participant