The presence of 'core_version_requirement: ^8.8 || ^9’ at the same time as 'core: 8.x’ in varbase_editor.info.yml causes the following error:
'Uncaught PHP Exception Drupal\Core\Extension\InfoParserException: "The 'core_version_requirement' constraint (^8.8 || ^9) requires the 'core' key not be set in modules/contrib/varbase_editor/varbase_editor.info.yml" at /Users/User/Sites/Site/docroot/core/lib/Drupal/Core/Extension/InfoParserDynamic.php line 91’.
Providing for any core version requirement equal to or above 'core_version_requirement: ^8.7.7 || ^9’ requires that 'core: 8.x’ be removed.
To fix this issue, 'core: 8.x’ on line 6 of varbase_editor.info.yml will need to be deleted.
Comments
Comment #2
rajab natshahThanks Mitchell for reporting this issue in a quick time !!!!
A follow up issue for
#3127312: Include a drupal/core requirement for [Varbase Editor] compatible with Drupal 9
lowering it to
Comment #4
rajab natshahComment #5
rajab natshahComment #6
rajab natshahIn my opinion it should be
Same as in the composer
Back on the lower ^8.7.0 || ~9.0.0 to be ^8.8.0 || ~9.0.0
Comment #7
rajab natshahI will go with what the Lightning team did in Lightning core
https://git.drupalcode.org/project/lightning_core/-/blob/8.x-5.x/compose...
https://git.drupalcode.org/project/lightning_core/-/blob/8.x-5.x/lightni...
Having it as
"drupal/core": "^8.8.0 || ~9.0.0",in the composer.jsonand
core_version_requirement: '^8 || ^9'in the varbase_editor.info.ymlComment #9
rajab natshahComment #10
rajab natshahComment #11
rajab natshahComment #12
rajab natshahReleased varbase_editor 8.x-7.9
https://www.drupal.org/project/varbase_editor/releases/8.x-7.9