Closed (fixed)
Project:
Mollom
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Aug 2008 at 10:55 UTC
Updated:
4 Mar 2010 at 18:40 UTC
Jump to comment: Most recent file
When Mollom is used in combination of the user profiles as nodes module, the registration form will not function correctly if you enable both the registration form and the user profiles as nodes. Two Mollom session IDs will clash.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | mollom.module-0.patch | 588 bytes | csevb10 |
Comments
Comment #1
csevb10 commentedOn the first pass through the registration form, things actually behave as intended since the $GLOBALS['mollom_response'] has yet to be set. If you fail validation on the form, however, subsequent loads of the page have $GLOBALS['mollom_response'] set from the mollom-enabled form, and therefore all subsequent forms cascade into the if statement. The incorrect form (i.e. the node form in this case) is still barging into the session-id section since the $GLOBALS value is set by the user_register form. The easiest and most straightforward solution is to require the session section to be run on only mollom-enabled forms (rather than all forms on a mollom-enabled page as is happening currently). This will not allow you to trigger both the node form and the user registration to have mollom checking, but will probably solve the issue for most individuals.
Comment #2
aether commentedThis patch also worked for me on a 5.x site with a Node Profile form on the user registration page.
Comment #3
EvanDonovan commentedI applied this patch to Mollom 5.x-1.6, disabled Mollom filtering on the user registration form and the user profile form, and the user profiles still did not load. When I grant users the "Post with no checking" permission, they are able to view the user profiles.
Comment #4
EvanDonovan commentedActually, never mind. My problem was completely unrelated to Mollom. It actually had to do with some code that we had put in the Contemplate module for user profile which was calling the Guestbook module and causing a cascade of errors. Mollom filtering is working fine on all our nodes.
Comment #5
sunIf the patch in #1 fixed the issue, then this should be already be fixed in the latest release due to other changes.