Closed (fixed)
Project:
Mollom
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2010 at 18:36 UTC
Updated:
24 Apr 2014 at 17:13 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dries commentedNice and simple! I'm on a plane so I haven't been able to test this patch. However, the ease of integration is great validation for the new Mollom API.
The tests look good too, minus:
Instead of doing that, let's do
$modules[] = 'profile'insetUpplease.Two unrelated asides that might be worth creating issues for:
mollom.user.inc,mollom.comment.inc,mollom.contact.incand maybemollom.node.inc. Of those,mollom.comment.incis probably going to be the biggest one in the near time. Food for thought -- best left for another issue.user_register_formbut that the form ID for the password request form is justuser_pass(no_formsuffix). At least, that is what it looks like from looking atuser_mollom_form_info().Comment #2
sunAlright -- if we want to use setUp(), then we should not make the existing User module integration tests slower. Therefore, attached patch adds a separate test case for the Profile module integration. That's clean and mean.
On the other, technically unrelated issues:
However, implementing hook_hook_info() to allow other contributed modules to put their optional support code for Mollom module into $module.mollom.inc would definitely make sense to do. Still unrelated to this patch though, so let's do that in a follow-up.
Comment #3
dries commentedLooks great now. Committed to DRUPAL-6--1. Thanks sun!
Comment #4
sunPorted to HEAD. I couldn't believe it, but there are actually changes in D7's Profile module... LOL ;)
Comment #5
sunThanks for reporting, reviewing, and testing! Committed to HEAD.
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.
Comment #6
dries commentedProfile module had 'changes' or 'improvements'? :-)
Comment #7
sunheh, "changes to merely make it compatible" probably cuts it. ;)
However, two issues:
1) I've learned that Profile in D6 supports a "list" field type, too.
2) The added tests are too vague and do not test each of the Profile fields separately.
Comment #8
sunProfile tests pass. Same patch for D7.
Comment #9
sunCommitted those follow-ups to HEAD and D6.
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.