Multi-checkbox control doesn't bind properly when to changed from multi-checked to single checked.
WebMaker version
3.1.2.0007
Symptom
Multi-checkbox control doesn't bind properly when to changed from multi-checked to single checked.
How to reproduce
1. There is a multi-checkbox having ten items.
2. Check more than one. let's say check 5 checkboxes.
3. Save
4. Open the form, you can see the 5 checkboxes are checked.
5. This time, you unchecked the 5 checkboxes, and check A different item. (only one!!).
6. Save
7. Open the form, you can see the 6 checkboxes are checked.
Which is not correct, WebMaker server should unchecked the 5 checkboxes.
Root casue
I traced the problem down, and found out the problem occurs After SXForms Processing.
Incomming message has only one item checked correctly.
- I checked both HTTP message body and incoming message in platform log.
but after sxforms processing, message was changed to have not only the one checked but also 5 checked one which was unchecked.
I attached two xml files.
- incoming message.xml
-After SXForms Processing.xml
WebMaker version
3.1.2.0007
Symptom
Multi-checkbox control doesn't bind properly when to changed from multi-checked to single checked.
How to reproduce
1. There is a multi-checkbox having ten items.
2. Check more than one. let's say check 5 checkboxes.
3. Save
4. Open the form, you can see the 5 checkboxes are checked.
5. This time, you unchecked the 5 checkboxes, and check A different item. (only one!!).
6. Save
7. Open the form, you can see the 6 checkboxes are checked.
Which is not correct, WebMaker server should unchecked the 5 checkboxes.
Root casue
I traced the problem down, and found out the problem occurs After SXForms Processing.
Incomming message has only one item checked correctly.
- I checked both HTTP message body and incoming message in platform log.
but after sxforms processing, message was changed to have not only the one checked but also 5 checked one which was unchecked.
I attached two xml files.
- incoming message.xml
-After SXForms Processing.xml
Attachment