-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
Current behavior:
Initialize a JSON-serialized variable to a list.
In a Java delegate (or anywhere later on), add a java object to that list. Do NOT update the variable explicitly via execution.setVariable (but use the implicit update feature).
=> the generic type of the list is not updated in the database. Upon later deserialization, the list elements are not deserialized to the class of the object originally inserted (instead Jackson deserializes a generic map)
Solution Hint:
DeserializedObject#flush implements the implicit update. It only updates the serialized byte value of these variables, not the actual object value; should probably call serializer.writeValue(..) instead of simply updating the byte array.
This is the controller panel for Smart Panels app
- is related to
-
CAM-3442 Implicit variable updates are not reflected in history
- Closed