To reproduce:

Grab latest head, and install standard profile.
Go straight to the module page and disable and then uninstall comment
Run cron to trigger field_purge_batch() (twice to be sure)
Go to dblog
Observe some exceptions that look like:

Drupal\field\FieldException: Attempt to create an instance of unknown field 1ee73fab-78da-499d-b306-6c78a15879b6 in Drupal\field\Plugin\Core\Entity\FieldInstance->__construct() (line 223 of /var/www/d8/core/modules/field/lib/Drupal/field/Plugin/Core/Entity/FieldInstance.php).

1ee73fab-78da-499d-b306-6c78a15879b6 is the Uuid of the instance

a debug bactrace here:
https://privatepaste.com/c1adf5434c

Comments

swentel’s picture

Issue tags: +Field API
ParisLiakos’s picture

this bug was introduced lately though, i stepped on to it in #15266: Replace aggregator category system with taxonomy
so it should be because of a commit after April 5 or so, probably Field API to CMI one

pcambra’s picture

swentel’s picture

Been trying to reproduce this, but can't anymore .. should we defer to #2003966: Helper issue for #1199946 : Disabled modules are broken beyond repair ?

ParisLiakos’s picture

i just reproduced it with a clean install/ fresh HEAD.
The issue above will probably fix this, but lets keep this issue open till then

ParisLiakos’s picture

David_Rothstein’s picture

Status: Postponed » Postponed (maintainer needs more info)

I couldn't reproduce this - is it still an issue? Also, this isn't related to disabled modules; it's an issue with uninstall.

ParisLiakos’s picture

yes, i can still reproduce this, but dunno, it might be just me

ParisLiakos’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)