Problem/Motivation

After updating #2910353: Prevent saving config entities when configuration overrides are applied and remove the update specific hacks, I got this when trying to update a project:

>  [notice] Update started: webform_update_8648
>  [error]  A config entity with config overrides must not be saved. Use \Drupal\Core\Config\Entity\ConfigEntityStorageInterface::loadOverrideFree() to load a non-overridden config entity. 

Note that this isn't a problem introduced by the linked core issue, instead, what it does is prevent configuration overrides from bleeding into the default language version.

updating config entities should always use loadOverrideFree

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork webform-3572819

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.

berdir’s picture

Status: Active » Needs review

Created a MR.

liam morland made their first commit to this issue’s fork.

  • liam morland committed 647c0e36 on 6.3.x authored by berdir
    fix: #3572819 Use ::loadMultipleOverrideFree() in webform_update_8648()
    

  • liam morland committed 647c0e36 on 6.x authored by berdir
    fix: #3572819 Use ::loadMultipleOverrideFree() in webform_update_8648()
    
liam morland’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.

liam morland’s picture

Title: webform_update_8648() does not use loadOverrideFree » Use ::loadMultipleOverrideFree() in webform_update_8648()

Status: Fixed » Closed (fixed)

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