Closed (fixed)
Project:
Mollom
Version:
5.x-1.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 May 2009 at 19:45 UTC
Updated:
12 Aug 2010 at 18:30 UTC
I have a user/register form that contains some extra required fields, e.g. full name, terms and conditions checkbox, and so on. I've encountered an issue with a form error and mollom validation. The steps to reproduce are:
I think it's something to do with the session id associated with the 1st captcha is different from the subsequent ones. The attached patch fixes the issue, though there may be a better solution.
Cheers,
Stella
| Comment | File | Size | Author |
|---|---|---|---|
| mollom_session.patch | 1.69 KB | stella |
Comments
Comment #1
robschmitt commentedI can confirm that this bug is present is 5.x-1.8 as well. Stella's patch works, so thanks very much for that.
Comment #2
Allthegearnoidea commentedAs beforeseven points out this problem is in 5.x-1.8 too. I've also applied stella's patch and it's fixed the problem and so far I haven't found it causing any other issues.
The patch seems to be marked as ignored. Is there some way to make it more official so the problem gets permanently fixed in the next version of Mollom?
Comment #3
sunThis patch looks correct to me.
1) $GLOBALS['mollom_captcha'] seems to be unused throughout the module, probably a mistaken variable name.
2) Yes, we should send a session_id for mollom.getImageCaptcha. Interestingly, the module already sends one in mollom_ajax_callback(), but that is only used for switching CAPTCHA types.
Comment #4
dries commentedI agree that this patch looks good. I committed it to DRUPAL-5 so it will be part of the next release of the Mollom module. Thanks for your patience.