plone/plone.app.upgrade — comment on commit 83fc72bacc8ee545060032857861b785f6125432
File: plone/app/upgrade/v40/betas.py line 276
By vincentfretin:

Yeah, I did a reindex of object_provides after the migration too. I had lots of KeyError: documentId when I edited a content, when it calls uncatalog_object. I looked at one of them, it tried to remove the entry IATEvent for the documentId and when I looked what was this documentId, it was actually a ATDocument. Weird :S