Problem/Motivation

Installing multiple Lupus Decoupled recipes in a row throws an error:
The configuration 'block.block.gin_messages' exists already and does not match the recipe's configuration

The block configuration is installed by the drupal_cms_admin_ui which is installed by drupal_cms_starter which is installed by lupus_decoupled_starter.

The weight of the block is being automatically changed causing an exception on reinstall.

Steps to reproduce

On a fresh Drupal install apply the `lupus_decoupled_news` recipe.
Then try to apply `lupus_decoupled_blog` recipe.

Proposed resolution

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:

  • 1.x Comparechanges, plain diff MR !1

Comments

arthur_lorenz created an issue. See original summary.

fago’s picture

Is the issue maybe the strict comparison?
https://www.drupal.org/node/3478662

I've learned from recipe sessions that this is mostly a good idea to not use them, since small config changes/extension e.g. by used modules can lead to errors already. Better to only have it strict when really needed for some reason.

arthur_lorenz’s picture

Yes, exactly. The config is however in a drupal cms recipe. So this ticket exists to figure out how to deal with it.

ciprian.stavovei made their first commit to this issue’s fork.

ciprian.stavovei’s picture

Status: Active » Needs review

The only way I managed to make it work was by adding strict: false in the drupal_cms_admin_ui recipe. That's where the block.block.gin_messages config is added. It seems to be a Drupal CMS issue, therefore I created one here: https://www.drupal.org/project/drupal_cms/issues/3523920 and added a PR.
I also updated the readme file from lupus_decoupled_recipe recipe to explain how to overcome the error. lupus_decoupled_recipe seems to be the base for all the others, so that's why I added it there.

arthur_lorenz’s picture

Status: Needs review » Needs work

Thank you, please also link the Drupal CMS issue in the README, then we can merge :)

ciprian.stavovei’s picture

Status: Needs work » Needs review

Updated.

arthur_lorenz’s picture

Status: Needs review » Fixed

Thx, merged!

arthur_lorenz’s picture

Status: Fixed » Needs review
arthur_lorenz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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