Incorrect display subprocess in subprocess, when it open in Activiti Modeler. (Problem with coordinates of elements after convertation BPMN to JSON)

Description

Testcase:
1) deploy test.bpmn20.xml
2) convert definition to editable model
3) All element in sub-sub-process shifted

Fix:
In "SubProcessJsonConverter.java", in method "convertElementToJson(...)", line 55-56.

Find:
processor.processFlowElements(subProcess.getFlowElements(), model, subProcessShapesArrayNode, graphicInfo.getX() + subProcessX, graphicInfo.getY() + subProcessY);

Replace with:
processor.processFlowElements(subProcess.getFlowElements(), model, subProcessShapesArrayNode, graphicInfo.getX(), graphicInfo.getY());

Environment

None

Assignee

Frederik Heremans

Reporter

Aleksandr Hramcov

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure