Mass Contact does not honor turning off "Send as HTML by default."

sharplesa - February 9, 2009 - 02:50
Project:Mass Contact
Version:6.x-1.0-beta2
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed
Description

To reproduce the bug:
1. Go to admin/build/mass_contact/settings
2. Uncheck "Send as HTML by default."
3. Click "Save configuration" button.
4. Scroll back up and observe that "Send as HTML by default." is still checked!

Expected result:
#4, above, should have shown that "Send as HTML by default." was no longer checked.

Additional information:
1. I looked in the "variable" table in mysql, and noticed that the database version of the variable name that controls this value is "mass_contact_HTML_d".
2. The variable name that the form is looking for is "mass_contact_html_d" ("html" is in lowercase!).
3. Because the lowercase version is UNSET, the default value of 1 is selected.
4. The CHANGELOG.txt file says that the mass_contact_HTML_d variable is now mass_contact_html_d.
5. The mass_contact.install/mass_contact_update_6000 file should have updated that variable.

Work-around:
I'll just use phpmyadmin and rename that variable to match the new scheme.

#1

MrWerewolf - July 24, 2009 - 23:45

I found another work around. Disable the module. Uninstall it. Then re-enable the module and set it up again.

#2

oadaeh - August 18, 2009 - 17:09
Status:active» fixed

I've added update number 6001 to fix this for anyone who hasn't already. The commit to the development version is here: http://drupal.org/cvs?commit=252634. Thanks for pointing it out.

#3

System Message - September 1, 2009 - 17:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.