Problem
The 'core_version_requirement' can not be used to specify compatibility for a specific version before 8.7.7 in modules/contrib/transliterate_filenames/transliterate_filenames.info.yml
This update crashes site and also will not allow core (d9.3.5 and php8.1) fresh install when module is present.
Change from
name: Transliterate Filenames for Uploads
type: module
description: Transliterate filenames to latin for uploads
core_version_requirement: ^8.7 || ^9.2
to
name: Transliterate Filenames for Uploads
type: module
description: Transliterate filenames to latin for uploads
core_version_requirement: ^8.7.7 || ^9.2
and all is well
Comment | File | Size | Author |
---|---|---|---|
#9 | 3263658-9.patch | 403 bytes | victoria-marina |
#7 | 3263658-7.patch | 395 bytes | victoria-marina |
#3 | 3263658-3.patch | 752 bytes | victoria-marina |
Comments
Comment #2
victoria-marina CreditAttribution: victoria-marina at CI&T commentedI'll work on this.
Comment #3
victoria-marina CreditAttribution: victoria-marina at CI&T commentedI was getting an error even after applying the proposed solution in the issue scope, so I made the changes:
Kindly review it.
Comment #4
alphex CreditAttribution: alphex commentedThis fails to apply against 1.9.
The lines ...
Are already in the project composer.json.
...
Updating to 2.0 of course works...
I didn't know that was released yet.
Comment #5
Macruz CreditAttribution: Macruz commentedSame problem.
"core_version_requirement: ^8.7.7 || ^9.2"
Worked fine, thx
Comment #6
victoria-marina CreditAttribution: victoria-marina at CI&T commentedComment #7
victoria-marina CreditAttribution: victoria-marina at CI&T commentedThanks @alphex and @macruz! I made a new patch with the format mentioned.
Comment #8
crutch CreditAttribution: crutch commentedThank you #7 for the patch however it doesn't apply against dev.
change from
-core_version_requirement: ^9.2
+core_version_requirement: ^8.7.7 || ^9.2
to
-core_version_requirement: ^8.7 || ^9.2
+core_version_requirement: ^8.7.7 || ^9.2
Comment #9
victoria-marina CreditAttribution: victoria-marina at CI&T commented@crutch thanks for your reply. Changing the issue version to 8.x-1x because the
core_version_requirement: ^8.7 || ^9.2
only exists on that version.Sending a new patch for this version.
Comment #10
crutch CreditAttribution: crutch commentedAh yes, didn't realize 2.0 was released. This patch applied to 1.x-dev, thank you :)
Comment #12
ivnish CreditAttribution: ivnish commented