Problem/Motivation
Drupal 11.4.0 removed recipes from core, because they were no longer needed by the Standard profile and recipe. However, they were in the dependency chain for other recipes / site templates that opted to build on these "standard" content types vs. define them from scratch. (In our case, the goal was to remain interoperable with other recipes that enhanced the standard page and article content types.)
Their absence now generates fatal errors when our recipes try to apply.
Steps to reproduce
composer create-project centarro/commerce-kickstart-project kickstart
cd kickstart
ddev config
ddev start
And attempt the full demo store installation.
Proposed resolution
Restore these recipes to the codebase even if they are no longer applied and provide a deprecation notice so recipe and site template developers know to accommodate their absence at the next major version bump (i.e., Drupal 12.0.0).
Remaining tasks
Give it a shot!
Release notes snippet
TBD
Issue fork drupal-3608069
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:
- 3608069-restore-but-dont
changes, plain diff MR !16195
Comments
Comment #2
rszrama commentedComment #4
phenaproxima+1 for this. Removing these recipes in a minor release is equivalent to pulling a module out of core in a minor release, although obviously it cannot break sites in the wild.
I think these recipes should remain in 11.x, but remain removed from 12.x.
Comment #5
gábor hojtsyI agree this had farther reaching consequences than we thought. Should we have / do we have a way to mark the recipes deprecated?
Comment #6
catchI think it's worth an issue to look into marking recipes deprecated, however I also think until we have that, restoring them to 11.x but keeping them removed in 12.x is OK with the existing change record.
Comment #7
catchLet's go ahead here, MR is green and is just a partial revert of a commit.
Comment #8
longwaveAdded these back to 11.x and 11.4.x, let's keep them out of 12, if we figure a way to deprecate recipes in the meantime we can backport that later.
Committed and pushed bae80c73c61 to 11.x and 7885da50fcb to 11.4.x. Thanks!
Comment #13
wim leersThanks! 🙏 This will allow Canvas to no longer have to add ~300 lines of YAML for it to pass tests on 11.4! 🎉