The config Factory service returns data of staged configuration instead of active configuration for text_format

  • Create settings form field with text_format type

  • Save settings.

  • Export the settings to default folder.

  • config ignore the settings, so with deployment it imports first time,.

  • Now change the settings directly in settings form.

  • The changes does not reflect for English language but it takes it from staged config from default config folder

Alternatively - We have been using getOriginal($key, FALSE); to avoid picking the overrides. But this needs to be addressed.

Comments

rakshith.thotada created an issue. See original summary.

rakshith.thotada’s picture

Issue summary: View changes
rakshith.thotada’s picture

Issue summary: View changes
rakshith.thotada’s picture

Version: 9.1.x-dev » 9.3.x-dev
cilefen’s picture

I think we need more precision in the steps to reproduce.

Version: 9.3.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.