When sequence flows are deleted it is not getting deleted from BPMNDiagram (xml)

Description

If a sequence flow is created and then deleted it is not removed from the BPMNDiagram definition (xml).

It is causing the deployment to fail with exception saying the element is not found

org.activiti.engine.ActivitiException: Invalid reference in 'bpmnElement' attribute, sequenceFlow flow2not found | testcase-01.bpmn.bpmn20.xml | line 43 | column 64
Invalid reference in 'bpmnElement' attribute, sequenceFlow flow3not found | testcase-01.bpmn.bpmn20.xml | line 48 | column 64

at org.activiti.engine.impl.util.xml.Parse.throwActivitiExceptionForErrors(Parse.java:186)
at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:242)
at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:92)

Environment

Windows 7 64 Bit, Eclipse Juno SR1, Activiti Designer 5.11

Assignee

Tijs Rademakers

Reporter

Arun P Johny

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure