Closed (fixed)
Project:
Mollom
Version:
5.x-1.0
Component:
Code
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2008 at 09:31 UTC
Updated:
20 Apr 2008 at 17:31 UTC
Jump to comment: Most recent file
There seems to be a conflict with the captcha module. I'm not sure where the offense is. When captcha and mollom are enabled on the same site pages protected by the captcha module throw errors. Details at http://drupal.org/node/241248
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 241249_prerender_overwriting.patch | 709 bytes | soxofaan |
Comments
Comment #1
soxofaan commentedThe problem was an obscure bug in CAPTCHA module (involving lost pre_render functions)
fixed by http://drupal.org/node/241248#comment-794193
However, the mollom.module has a related issue:
mollom_form_alter overwrites $form['#pre_render'] instead of appending to it
Comment #2
bryansd commentedConsidering Mollom provides CAPTCHA, when needed, why would you need to have the CAPTCHA module enabled?
Comment #3
mfer commented@BryanSD - I can't think of a really good reason unless someone wants to go with more than one.
The issue here is that the mollom is removing other pre_render function callbacks on all forms. This will affect other modules as well.
The troublesome code is in the function mollom_form_alter where it has:
The issue is line 323. It should read:
Ugh, to be stuck without being able to roll a patch.
Comment #4
dries commentedThanks for the fix. I've made the change and committed it to DRUPAL-5. According to Saxofaan, this is a non-issue in the DRUPAL-6 branch of Mollom.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.