Uninstall breaks site (with workaround)

Created on 8 June 2023, over 1 year ago
Updated 9 June 2023, over 1 year ago

Uninstalling this module broke my site, leading to 500 errors on the home page.

Steps to reproduce

  1. Enable the module, configure for a content type, add a like.
  2. Decide to uninstall: cannot as there's a like entity present.
  3. NASTY HACK ALERT! Delete the like data in the database (is there a better way?) so the module can be uninstalled.
  4. Uninstall just this module.

Fix/Workaround

  1. Re-enable the module.
  2. Uninstall this module AND the extrafield_views_integration module. (I used drush @mysite pm-uninstall likeit extrafield_views_integration

Feature Request

Make it so that uninstalling the module can delete likes, or provide a way to delete like entities via the website?

I probably broke things, but perhaps this is a extrafield_views_integration bug, if it's left enabled with no other module using it?

✨ Feature request
Status

Closed: works as designed

Version

3.1

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom fonant

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024