We have a pseudo multisite install, one shared code base and each site with its own separate db. Uninstalling media and its associated modules, we have been unable to uninstall File Entity EXCEPT on the first site it was uninstalled from. The File Entity checkbox on the uninstall UI is grayed out on the other two site/installs.

Hoping to clear out all cruft and re-install media/components from scratch...

Comments

jenpasch’s picture

additional clarification:
After uninstalling File Entity from the first website, we were unable to uninstall it from the other sites as the checkbox was grayed out

The uninstall happened successfully on the db where the original installation was done, but not successful on the 2 dbs that were cloned after that installation.

brianV’s picture

subscribing.

jenpasch’s picture

Status: Active » Closed (fixed)

not fixed, but the issue is misstated... turns out that File Entity in grayed out (un-uninstallable) on all 3 installs

brianV’s picture

jenpasch and I both work at PINGV.

We determined that the problem was that file_entity_test had been inadvertently enabled at some point in history.

As of #1150812: Testing modules should be hidden, the testing modules were hidden from the module list. That left us in the position where File Entity was not uninstallable (greyed out on module uninstall screen) as File Entity Test depended on it, but as the test module was hidden it was not listed among the modules File Entity was a requirement for, nor was there a UI-based way to disable it.

Disabling it, and uninstalling via drush fixed the issue; it made File Entity uninstallable.

On a side note, despite having hidden module depending on it, we *could* disable File Entity, just not uninstall it. Should it be possible to disable a module which has hidden modules depending on it? If that is the case, perhaps I'll open a core issue over it.

brianV’s picture

Status: Closed (fixed) » Fixed

Also, marking as fixed so it is visible to the maintainers.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.