Field og_membership_request not being removed at all (field info, field instance and data). This happens also in the D7 version. The entity to which it's attached, og_membership, has been deleted and therefore the removal of the field needed some special treatment
Other OG fields attached to core entities were marked as deleted (info and instance), but the table was not removed. Running cron took care of removing everything. So, to solve this without waiting until cron ran, I used field_purge_batch at the end of the uninstall hook, as recommended in some D7 posts.
Fixes #34.
Explanation: there were two problems:
og_membership_request
not being removed at all (field info, field instance and data). This happens also in the D7 version. The entity to which it's attached,og_membership
, has been deleted and therefore the removal of the field needed some special treatmentfield_purge_batch
at the end of the uninstall hook, as recommended in some D7 posts.Tested thoroughly - working fine.