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

Berdir’s picture

Mh, 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.

litwol’s picture

Indeed. 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.

ptmkenny’s picture

ivnish’s picture

Category: Task » Bug report
Issue summary: View changes
ivnish’s picture

Status: Active » Closed (outdated)