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
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
Comment #2
smustgrave commentedSounds kinda major if translations are lost.
btw thanks for testing 4.0.x early!
Comment #5
berdirTook 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.
Comment #7
smustgrave commentedThanks!!