Problem/Motivation

_scheduler_content_moderation_integration_reset_form_display() uses \Drupal\Core\Entity\EntityDisplayRepositoryInterface::getFormDisplay() and then changes and saves that config entity.

This may include config overrides, such as translations, saving that again causes those translations to be saved on the default version and replacing that.

When using #2910353: Prevent saving config entities when configuration overrides are applied, an exception is thrown when that happens.

Steps to reproduce

Proposed resolution

Load the config entity without overrides.

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

berdir created an issue. See original summary.

smustgrave’s picture

Priority: Normal » Major

Sounds kinda major if translations are lost.

btw thanks for testing 4.0.x early!

berdir’s picture

Status: Active » Needs review

Took me an awkward amount of attempts to get the variable names right between the two branches and doing it blindly, but that should do the trick.

> btw thanks for testing 4.0.x early!

I'm not.

smustgrave’s picture

Status: Needs review » Fixed

Thanks!!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.