Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.yml
Steps 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 CreditAttribution: immaculatexavier as a volunteer and at Material for Drupal India Association commentedAttached patch in accordance to the proposed resolution
Comment #3
Jelle_SThis should be "<8.6" I believe
Comment #4
immaculatexavier CreditAttribution: immaculatexavier as a volunteer and at Material for Drupal India Association commented@Jelle_S
Addressed #3. Kindly find the attached patch
Comment #7
technoveltyco CreditAttribution: technoveltyco at Cyber-Duck 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_requirement
of the 2 submodulesdata
anddemo
, which will also require to update their correspondent.info
files 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 CreditAttribution: a.dmitriiev at 1xINTERNET commentedComment #10
a.dmitriiev CreditAttribution: a.dmitriiev at 1xINTERNET commentedThank you for finding and fixing the bug so quickly.
I have released the new version 2.2.