Contact email not submitted after CAPTCHA is solved

David_Rothstein - June 18, 2008 - 15:48
Project:Mollom
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

This bug was uncovered as a result of the tests I posted at http://drupal.org/node/271123 ... go SimpleTest!

When you have Mollom enabled for the contact form (either per-user or site-wide) and submit a message there that triggers a CAPTCHA, solving the CAPTCHA does not allow you to submit the form. You simply get the form right back again (but with the CAPTCHA gone) and no indication of what happened... essentially, it acts like a "preview" button more than a submit button. Looks like this bug occurs for creating nodes too.

Oddly enough, when trying this out by hand I noticed that the behavior is different depending on whether you are using a "real" Mollom key pair vs running Mollom in testing mode. For a real key pair, the first submission acts like a "preview", but if you hit the submit button again, then your message is sent. For testing mode, however, you can never seem to submit the contact form with a message that is 'unsure'... it just goes back and forth between giving you a CAPTCHA and not giving you one. (So luckily, the bug is less severe for the real case, but why it would be different for the two I have no idea at the moment.)

 
 

Drupal is a registered trademark of Dries Buytaert.