Postponed
Project:
Salsa Entity
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Feb 2014 at 17:18 UTC
Updated:
13 Feb 2014 at 16:06 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
berdirAnd here is an untested patch.
Comment #2
berdirComment #3
miro_dietikerFunctionality wise fully fine. But please add a comment why this hook_forms was required. I know it almost is be self-explaining. And please answer the question if there are other form types that have the same problem.
Salsa offers the possibility to show forms through a block. This combination could result on virtually all salsa forms to have multiple instances on the same page due to accidental confiuration. Although not really recommended, things should not break in this case.
And since it was such a funny bug, i guess we should add a specific test?
Comment #4
LukyLuke_ch commentedThere is also a small change needed in the salsa_signup_page_mollom_form_info() (salsa_signup_page.module) hook:
Additionally, to populate and being able to configure the pages differently, this can be also added in salsa_signup_page_mollom_form_list() (salsa_signup_page.module)
Comment #5
LukyLuke_ch commentedHere a complete patch for the above.
See also https://drupal.org/comment/8479019#comment-8479019 for the appropriate mollom patch which is needed here to make this properly working with mollom.
Comment #6
miro_dietikerAs long as this is not in at Mollom, we would kill existing sites using mollom (required reconfiguration).
Let's wait till this is in - and then commit.
For now this remains a patch for the specific project that hits this case.