Needs work
Project:
RichForm
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Oct 2011 at 09:21 UTC
Updated:
19 Feb 2013 at 21:29 UTC
Jump to comment: Most recent file
If #tree option is TRUE server site validation is broken in richform_regex module, because richform_regex_richform_validate function use wrong element id.
We should use $element['#value'] instead of $form_state['values'][$id].
There is same problem with the correction function.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | richform_regex-tree_true_bug-1298866-4-6.x.patch | 4.04 KB | Désiré |
| #4 | richform_regex-tree_true_bug-1298866-4-7.x.patch | 4.1 KB | Désiré |
| #1 | richform_regex-tree_true_bug-example_only-7.x-1.x.patch | 697 bytes | Désiré |
| #1 | richform_regex-tree_true_bug-7.x-1.x.patch | 1.65 KB | Désiré |
Comments
Comment #1
Désiré commentedThere is two patches:
- one just for the example module for bug reproduction
- and one for both the example module and the fixed richform_regex module
Comment #2
Désiré commentedThe patches above works for the 6.x-1.x version too.
Comment #3
pp commentedIt's looking good, but one thing: Please correct all funtions footprint to same.
Comment #4
Désiré commentedComment #5
pp commentedDésiré: Can you reroll the patch and add some tests to it?
Comment #6
pp commented