- 🇫🇮Finland back-2-95 Helsinki
Release would be nice, we need to use mglaman/composer-drupal-lenient for even install the module with the patch.
- First commit to issue fork.
- Merge request !2Issue #3286802: Automated Drupal 10 compatibility fixes → (Closed) created by martins.bruvelis
- Status changed to RTBC
over 1 year ago 1:31pm 22 September 2023 - 🇮🇪Ireland markconroy
Marking this as RTBC.
Any chance we could get a new release of this module soon please?
- 🇮🇪Ireland markconroy
Since this module is not receiving any updates, I don't see the point in having it in my codebase any more. However, if you uninstall it, it deletes your "Countries" taxonomy and also removes all the terms/countries in it.
To get around this, you can:
- Open countries_info.install file
- Delete the countries_info_uninstall() function
- Uninstall the module
- Deploy this change to your website
- Remove the module from your codebase
- Deploy this change to your website
Sorry, I know this isn't helping get this issue merged, but it's a workaround for you to get your site to Drupal 10.
- 🇫🇮Finland back-2-95 Helsinki
You can install this module to Drupal 10 site with this patch using mglaman/composer-drupal-lenient Composer plugin.
- Status changed to Needs work
about 1 year ago 1:04pm 20 November 2023 - 🇪🇸Spain saganakat
I've tried applying the patch, but it's giving me an error in the execution of Composer:
Hunk #1 FAILED at 5. 1 out of 1 hunk FAILED -- saving rejects to file countries_info.info.yml.rej patch '-p0' --no-backup-if-mismatch -d '/var/www/html/docroot/modules/contrib/countries_info' < '/tmp/655b554f88e2f.patch' Executing command (CWD): patch '-p0' --no-backup-if-mismatch -d '/var/www/html/docroot/modules/contrib/countries_info' < '/tmp/655b554f88e2f.patch' can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/countries_info.info.yml b/countries_info.info.yml |index 72f2677..80d1ce6 100644 |--- a/countries_info.info.yml |+++ b/countries_info.info.yml
The issue is on line 6, which it identifies as a removal instead of text that shouldn't be modified:
- drupal: taxonomy
Upload a new patch to fix this.
- 🇮🇪Ireland markconroy
@saganakat you can't patch a .info.yml file.
The file might look like this when the patch is created:
name: My Module description: A module that does something core_version_requirement: ^9 || ^10
But after Drupal packages it, it looks like this:
name: My Module description: A module that does something core_version_requirement: ^9 || ^10 # Information added by Drupal.org packaging script on 2023-09-29 version: '3.4.2' project: 'my_module' datestamp: 1696006156
So git sees it as having changed and can't patch it any more.
- Assigned to vishal.kadam
- 🇮🇳India vishal.kadam Mumbai
Added Drupal 10 and Drupal 11 compatibility fixes.
- Status changed to Fixed
5 months ago 9:27am 9 August 2024 Automatically closed - issue fixed for 2 weeks with no activity.