Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-2276

When an outgoing SequenceFlow is removed from a FlowNode, the diagram element of SequenceFlow loses bpmnElement attribute

XMLWordPrintable

      AT:

      • only the outgoing reference and not the actual sequence flow should be removed from the model

      Failing test case:
      https://github.com/camunda/camunda-bpmn-model/commit/67c469a6871f0a06ac0828de5c85040d2804d7e7

      ==================
      floNode.getOutgoing().remove(flow) somehow clears association between edge and flow

      Try these three lines to validate the bug:

      FlowNode source = <someNode>;
      BpmnEdge flowDi = flow.getDiagramElement();
      source.getOutgoing().remove(flow);
      // flowDi has no bpmnElement attribute now
      // a workaround I am currently using in our project:
      flowDi.setBpmnElement(flow);

        This is the controller panel for Smart Panels app

              meyer Daniel Meyer
              ganesh Ganesh Ingle
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: