Skip to content

Commit

Permalink
fix computing info text
Browse files Browse the repository at this point in the history
Issue imixs#192
  • Loading branch information
rsoika committed Mar 5, 2023
1 parent 21b29ee commit f1c4564
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,11 @@ void applyBPMNExtensions(final GModelElement elementNode, final BPMNElement bpmn
dataBuilder.closeArrayBuilder();

// set the optional extension label
elementNode.getArgs().put(BPMNExtension.INFO, extension.getInfo(bpmnElement));
bpmnElement.getArgs().put(BPMNExtension.INFO, extension.getInfo(bpmnElement));

String extensionInfo = extension.getInfo(bpmnElement);
if (extensionInfo != null && !extensionInfo.isEmpty()) {
elementNode.getArgs().put(BPMNExtension.INFO, extensionInfo);
bpmnElement.getArgs().put(BPMNExtension.INFO, extensionInfo);
}
// if the extension is not a Default Extension then we add the extension css
// class
if (!BPMNNS.BPMN2.name().equals(extension.getNamespace())
Expand Down

0 comments on commit f1c4564

Please sign in to comment.