Problem/Motivation
In InfoParserDynamic.php line 96:
The 'core_version_requirement' can not be used to specify compatibility for a specific version before 8.7.7 in modules/contrib/styled_google_map/modules/data/styled_google_map_data.info.ymlSteps to reproduce
Install version 2.1 and run drush updb, the error will appear (Drupal 9.4.6)
Proposed resolution
See https://git.drupalcode.org/project/module_builder/-/commit/8b92bda9f7c6b... for a possible fix as used by the module_builder module
Remaining tasks
Implement the fix
User interface changes
N/A
API changes
N/A
Data model changes
N/A
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 3312301-6.patch | 2.39 KB | technoveltyco |
| #4 | interdiff_2-4.txt | 211 bytes | immaculatexavier |
| #4 | 3312301-4.patch | 737 bytes | immaculatexavier |
| #2 | 3312301-2.patch | 737 bytes | immaculatexavier |
Issue fork styled_google_map-3312301
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
Comment #2
immaculatexavier commentedAttached patch in accordance to the proposed resolution
Comment #3
jelle_sThis should be "<8.6" I believe
Comment #4
immaculatexavier commented@Jelle_S
Addressed #3. Kindly find the attached patch
Comment #7
technoveltyco commented@jelle_s @immaculatexavier thanks for reporting this issue and creating the patch
The changes at #4 apply correctly, but the issue still remains at the
core_version_requirementof the 2 submodulesdataanddemo, which will also require to update their correspondent.infofiles in order to completely fix the issue.I re-rolled the patch from #4 and added the missing changed in 3312301-6.patch.
These changes are also pushed to the issue fork 3312301-the-coreversionrequirement-can.
I've tested the one of the projects where we found this issue.
Please review the patch and confirm it works as expected.
Many thanks
Comment #9
a.dmitriiev commentedComment #10
a.dmitriiev commentedThank you for finding and fixing the bug so quickly.
I have released the new version 2.2.