- Issue created by @hfernandes
- @hfernandes opened merge request.
- Status changed to Needs review
about 1 year ago 6:33pm 25 October 2023 this seems to be an chicken/egg problem..
when updating drupal/obfuscate_email to its new version via composer drupal/rot13 will be removed because it is not the modules dependency anymore. however it remains active in the drupal database it is now shown missing.
workaround
1. downgrade to old version via
composer require 'drupal/obfuscate_email:^1'
2. uninstall rot13 (this will uninstall obfuscate_email as well as it is a depenency) & clear cache
drush pmu rot13 -y && drush cr
3. require new version
composer require 'drupal/obfuscate_email:^2.1'
4. re enable module & clear cache
drush en obuscate_email && drush cr
- Issue was unassigned.
- 🇬🇧United Kingdom very_random_man
I came across this recently whilst upgrading a site from D8 (using v1 of this module) to D10 (using v2). The solution for me, as I'm doing automated releases, was to disable on the D9 intermediate release and upgrade / re-enable on the subsequent D10 release.
- 🇪🇸Spain ignaciolflores
I had the same problem when upgrading a site to D10.
My problem was that I had configuration that depended on obfuscate_email, so I couldn't uninstall rot13 without removing this configuration.
My solution has been to create a patch for obfuscate_email:1.3 that removes rot13 as a dependency, so you can uninstall it.
After that, I updated the module to the 2.x D10 compatible version and removed the patch from the composer.json file.
I am attaching the patch in case it helps anyone. - Status changed to Closed: works as designed
11 months ago 10:44pm 4 March 2024 - 🇨🇦Canada b_sharpe
This was covered in the release notes here: https://www.drupal.org/project/obfuscate_email/releases/2.1.0 → as well as hook for uninstall was covered in #3314887: rot13 sub-module makes no sense, please unify with main module →
I'll add to the project pages as well.