Skip to content

Commit 9ccf01d

Browse files
committed
return empty definition instead of null (issue #953)
1 parent 9e4eaa0 commit 9ccf01d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

imixs-workflow-engine/src/main/java/org/imixs/workflow/engine/WorkflowService.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,8 @@ public List<ItemCollection> evalXMLExpressionList(String xmlExpression, String x
12331233
if (xmlDefinitions != null) {
12341234
for (String definitionXML : xmlDefinitions) {
12351235
if (definitionXML.trim().isEmpty()) {
1236-
// no definition
1236+
// creaet empty definition
1237+
result.add(new ItemCollection());
12371238
continue;
12381239
}
12391240
// evaluate the definition (XML format expected here!)

0 commit comments

Comments
 (0)