-
Type: Bug
-
Status: Resolved
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 10.10
-
Fix Version/s: 10.10-HF32, 11.3, 2021.0
-
Component/s: Audit
-
Tags:
-
Backlog priority:1,000
-
Sprint:nxplatform #16
-
Story Points:3
The Json writer incorrectly filter variables and keeps only primitive types which automatically exclude String and Date
Map<String, Serializable> map = // ((Map<String, Serializable>) value).entrySet() .stream() // keep primitive values // blobs can be in WorkflowVariables for instance .filter(entry -> entry.getValue() != null && ClassUtils.isPrimitiveOrWrapper( entry.getValue().getClass())) .collect(Collectors.toMap(Entry::getKey, Entry::getValue));