Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
As the title says, attempting to uninstall and then re-install privatemsg module after privatemsg entity have been fielded (on admin/config/messaging/privatemsg/fields) does not remove cleanup fields configuration. So when module is re-installed, all the old field configuration becomes active on the "new" install.
Comments
Comment #1
BerdirMh, interesting.
I assume this is the same for other entities too? For example http://api.drupal.org/api/drupal/modules--comment--comment.install/funct... only seems to delete the comment_body field.
Comment #2
litwol CreditAttribution: litwol commentedIndeed. Field deletion is quite complex. requires iteration over entity fields and making sure they are not used anywhere else, otherwise delete only instance which is used on pmsg.
Another thing to note is performing uninstalls on a virgin environment versus a site with big pm_* database. field removal is a batch process.
Comment #3
ptmkenny CreditAttribution: ptmkenny commentedRelated issue: http://drupal.org/node/1934702
Comment #4
ivnish CreditAttribution: ivnish commentedComment #5
ivnish CreditAttribution: ivnish commented