Language override save event not fired by LanguageConfigFactoryOverride::onConfigRename

Created on 24 June 2018, about 6 years ago
Updated 31 July 2024, about 1 month ago

Problem/Motivation

The \Drupal\language\Config\LanguageConfigOverrideEvents::SAVE_OVERRIDE event is not fired when config is renamed, making it impossible to react to language override renames.

Proposed resolution

Save the renamed config using the \Drupal\language\Config\LanguageConfigOverride object, which will trigger the proper event.

Remaining tasks

Review the patch.

User interface changes

None.

API changes

\Drupal\language\Config\LanguageConfigOverrideEvents::SAVE_OVERRIDE is now fired when config is renamed.

Data model changes

None.

πŸ› Bug report
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component
Language systemΒ  β†’

Last updated 1 day ago

  • Maintained by
  • πŸ‡©πŸ‡ͺGermany @sun
Created by

πŸ‡ΊπŸ‡ΈUnited States samuel.mortenson

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024