Hi,
Following the very nice session of lussoluca in #drupaldevdays 2015, I've tested the webprofiler (-dev versions for it as well as core), and as of yesterday morning, uninstall contact core module is breaking the site.
How to reproduce : install a "standard" profile, enable webprofiler, uninstall contact module. I've done all that with the UI, I don't know if that matters.
I've successfully uninstalled other modules like help or history without any issue.
When trying to clear the cache with drush, the following error message is raised : Drupal\Component\Plugin\Exception\PluginNotFoundException: The "contact_form" entity type does not exist. in Drupal\Core\Entity\EntityManager->getDefinition() (line 257 of /var/www/drupal8/core/lib/Drupal/Core/Entity/EntityManager.php).
Comment | File | Size | Author |
---|---|---|---|
#10 | impossible_to_uninstall-2473677-10.patch | 668 bytes | lussoluca |
|
Comments
Comment #1
lussolucaHi Simon,
I cannot reproduce the bug. Do you have created some contact form before uninstall the module?
Comment #2
Simon Georges CreditAttribution: Simon Georges at Makina Corpus commentedNo, only the one coming with the standard install profile. I'll try with an updated version of both HEAD and web_profiler, and come back.
Comment #3
Simon Georges CreditAttribution: Simon Georges at Makina Corpus commentedI have the exact same issue right now (vanilla install of current -dev version of Webprofiler and current core HEAD). Do you want some infos about my configuration.
Comment #4
lussolucaYes please (OS, web server, php version, ...)
Thanks
Comment #5
Simon Georges CreditAttribution: Simon Georges at Makina Corpus commentedUbuntu 14.04 64bits, Apache 2.4.7, PHP 5.5.9 (all Ubuntu packages).
Additional extensions :
05-opcache.ini, 10-pdo.ini, 20-curl.ini, 20-gd.ini, 20-intl.ini, 20-json.ini, 20-ldap.ini, 20-mysql.ini, 20-mysqli.ini, 20-pdo_mysql.ini, 20-pdo_sqlite.ini, 20-readline.ini, 20-sqlite3.ini, 20-tidy.ini, 20-xdebug.ini, 20-xsl.ini, 90-blackfire.ini.
Comment #6
lussolucaWebprofiler has been merged with Devel.
Comment #7
tobiberlinSame issue here: I simply started a vanilla Dupal project with standard profile and de-installed Conatct module. No when I visit admin/modules/uninstall I see the following error:
Comment #8
gmario CreditAttribution: gmario commentedHi,
as Simon Georges reports, this error show up but if you uninstall contact from drush everything works fine.
a presto
gmario
Comment #9
gmario CreditAttribution: gmario commentedupdate:
another simple solution is to rebuild the cache.
gmario
Comment #10
lussolucaThis patch disable Webprofiler on /admin/modules/uninstall/* routes and this seems to resolve the issue.
Comment #11
gmario CreditAttribution: gmario commentedHi,
just tested the patch (drupal 8.0.2 + 8.x-1.x-dev ), works as expected.
gmario
Comment #13
lussolucaCommitted and pushed to 8.x-1.x.
Thanks!
Comment #14
lussoluca