-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
6.x.x
-
BPM Suite 6.4.2
Using Multiple-Form for an User Task
-
-
-
-
-
-
Workaround Exists
-
-
The following process definitions throws a "java.lang.ClassCastException: [Ljava.util.Map; cannot be cast to java.util.List" by trying to print out a List variable in a Script Task:
Start Event -> ScriptTask1 -> UserTask -> ScriptTask2 -> End event
This process contains a List variable named "lista". In ScriptTask1, "lista" is populated... then you will be able to add new items for it in User Task (user task makes use of a multiple form to achieve it)... finally in last ScriptTask2 the lista variable should be printed out, but the error is thrown.
After performing further tests we could confirm that in fact the multiple form is converting from a List to an array of Map types. Please see steps to reproduce.
- is cloned by
-
RHBPMS-4675 [GSS](6.4.z) List variable is converted to an array of Maps in a User Task if multiple forms is used in BPM Suite 6.4
- Verified