The `mass_contact_opt_out` field on the user account doesn't get removed from config on uninstall. As a result, I was getting php errors in my log:

PHP message: PHP Fatal error: Call to undefined function mass_contact_opt_out_allowed_values_callback() in /core/modules/options/options.module on line 88

Had to delete the field through the GUI.

CommentFileSizeAuthor
#5 2900027-5.patch650 bytessumit kumar singh
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

seancasey created an issue. See original summary.

seancasey’s picture

Title: Uninstall should install all associated fields » Uninstall should remove all associated fields
seancasey’s picture

Title: Uninstall should remove all associated fields » Uninstall should remove mass_contact_opt_out field
gaurav.kapoor’s picture

sumit kumar singh’s picture

Status: Active » Needs review
FileSize
650 bytes
sumit kumar singh’s picture

gaurav.kapoor’s picture

Status: Needs review » Fixed

Added the patch. Fixed comments and coding standards as well.Thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.