Overview
@jessebaker reported that Cypress tests fail to install on 11.0:
$ php ../../../core/scripts/test-site.php install --setup-file "modules/contrib/experience_builder/tests/src/TestSite/XBTestSetup.php" --install-profile "nightwatch_testing" --base-url http://localhost:8888/ --db-url sqlite://localhost/sites/default/files/db.sqlite --json
In ConfigSchemaChecker.php line 98:
Schema errors for experience_builder.component.block.system_branding_block with the following errors: 0 [settings.settings] 'status' is a required key., 1 [settings.settings]
'info' is a required key., 2 [settings.settings] 'view_mode' is a required key., 3 [settings.settings] 'context_mapping' is a required key.
Since blocks as components landed, we are running into #3379725: Make Block config entities fully validatable here - blocks no longer have 'status', 'info' and 'view_mode' keys, but the schema says they do in 11.0. This is solved in 11.1 - though not sure why it's not affecting 10.x?
Proposed resolution
Either: raise the minimum version to ^10.4 | ^11.1
Or: figure out a fix that works on both versions
User interface changes
Comments
Comment #3
longwaveComment #4
wim leers+1 for
This would allow us to remove a LOT of work-arounds that are increasingly slowing us down.
The Starshot project also bumped their minimum to 11: #3473343: Switch our base to Drupal 11.
Comment #5
lauriiiIt seems fine to raise the minimum requirement to the latest minor of Drupal 10 and 11
^10.4 || ^11to^10.4 | ^11.1.Comment #7
longwavePossible trivial fix for this issue that lets us continue on 11.0 for now in MR!408.
Comment #8
wim leersLet’s also bump the version requirement while we have the necessary +1s? 🤓
Comment #10
tedbowComment #11
longwaveLGTM.
Comment #13
tedbowComment #14
wim leers