Details
-
Type:
Bug Report
-
Status: Closed
-
Priority:
L3 - Default
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.25.0, 0.25.0-rc1
-
Component/s: frontend
-
Labels:None
Description
Bug description
Sometimes instances page is broken when a workflow is selected
Steps to reproduce the behaviour
- Go to the instances page
- Select a workflow with several versions
- Switch versions
(it is hard to reproduce)
Problem - Current Behaviour
Instances page completely breaks
Expected behaviour
Instances page should not break
Additional information
api response for diagram xml:
<?xml version="1.0" encoding="UTF-8"?> <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:zeebe="http://camunda.org/schema/zeebe/1.0" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_0dkpwbm" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Zeebe Modeler" exporterVersion="0.8.0"> <bpmn:process id="bigProcess" isExecutable="true"> <bpmn:startEvent id="StartEvent_1"> <bpmn:outgoing>SequenceFlow_0wumr00</bpmn:outgoing> </bpmn:startEvent> <bpmn:exclusiveGateway id="ExclusiveGateway_0cjcl1k" name="Continue?"> <bpmn:incoming>SequenceFlow_0j3eksh</bpmn:incoming> <bpmn:outgoing>SequenceFlow_1jeebm1</bpmn:outgoing> <bpmn:outgoing>SequenceFlow_07u0xkc</bpmn:outgoing> </bpmn:exclusiveGateway> <bpmn:sequenceFlow id="SequenceFlow_0wumr00" sourceRef="StartEvent_1" targetRef="taskA" /> <bpmn:sequenceFlow id="SequenceFlow_0j3eksh" sourceRef="taskA" targetRef="ExclusiveGateway_0cjcl1k" /> <bpmn:sequenceFlow id="SequenceFlow_1jeebm1" name="yes" sourceRef="ExclusiveGateway_0cjcl1k" targetRef="taskB"> <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">=i<=loopCardinality</bpmn:conditionExpression> </bpmn:sequenceFlow> <bpmn:sequenceFlow id="SequenceFlow_1gi2xny" sourceRef="taskB" targetRef="taskA" /> <bpmn:endEvent id="EndEvent_02f1al1"> <bpmn:incoming>SequenceFlow_07u0xkc</bpmn:incoming> </bpmn:endEvent> <bpmn:sequenceFlow id="SequenceFlow_07u0xkc" name="no" sourceRef="ExclusiveGateway_0cjcl1k" targetRef="EndEvent_02f1al1"> <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">=i>loopCardinality</bpmn:conditionExpression> </bpmn:sequenceFlow> <bpmn:serviceTask id="taskA" name="Task A"> <bpmn:extensionElements> <zeebe:taskDefinition type="bigProcessTaskA" /> </bpmn:extensionElements> <bpmn:incoming>SequenceFlow_0wumr00</bpmn:incoming> <bpmn:incoming>SequenceFlow_1gi2xny</bpmn:incoming> <bpmn:outgoing>SequenceFlow_0j3eksh</bpmn:outgoing> </bpmn:serviceTask> <bpmn:serviceTask id="taskB" name="Task B"> <bpmn:extensionElements> <zeebe:taskDefinition type="bigProcessTaskB" /> </bpmn:extensionElements> <bpmn:incoming>SequenceFlow_1jeebm1</bpmn:incoming> <bpmn:outgoing>SequenceFlow_1gi2xny</bpmn:outgoing> <bpmn:multiInstanceLoopCharacteristics> <bpmn:extensionElements> <zeebe:loopCharacteristics inputCollection="=clients" inputElement="client" /> </bpmn:extensionElements> </bpmn:multiInstanceLoopCharacteristics> </bpmn:serviceTask> </bpmn:process> <bpmndi:BPMNDiagram id="BPMNDiagram_1"> <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="bigProcess"> <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1"> <dc:Bounds x="142" y="152" width="36" height="36" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="ExclusiveGateway_0cjcl1k_di" bpmnElement="ExclusiveGateway_0cjcl1k" isMarkerVisible="true"> <dc:Bounds x="515" y="145" width="50" height="50" /> <bpmndi:BPMNLabel> <dc:Bounds x="514" y="133" width="51" height="14" /> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNEdge id="SequenceFlow_0wumr00_di" bpmnElement="SequenceFlow_0wumr00"> <di:waypoint x="178" y="170" /> <di:waypoint x="330" y="170" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="SequenceFlow_0j3eksh_di" bpmnElement="SequenceFlow_0j3eksh"> <di:waypoint x="430" y="170" /> <di:waypoint x="515" y="170" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="SequenceFlow_1jeebm1_di" bpmnElement="SequenceFlow_1jeebm1"> <di:waypoint x="565" y="170" /> <di:waypoint x="670" y="170" /> <bpmndi:BPMNLabel> <dc:Bounds x="609" y="152" width="17" height="14" /> </bpmndi:BPMNLabel> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="SequenceFlow_1gi2xny_di" bpmnElement="SequenceFlow_1gi2xny"> <di:waypoint x="720" y="130" /> <di:waypoint x="720" y="80" /> <di:waypoint x="380" y="80" /> <di:waypoint x="380" y="130" /> </bpmndi:BPMNEdge> <bpmndi:BPMNShape id="EndEvent_02f1al1_di" bpmnElement="EndEvent_02f1al1"> <dc:Bounds x="692" y="332" width="36" height="36" /> </bpmndi:BPMNShape> <bpmndi:BPMNEdge id="SequenceFlow_07u0xkc_di" bpmnElement="SequenceFlow_07u0xkc"> <di:waypoint x="540" y="195" /> <di:waypoint x="540" y="350" /> <di:waypoint x="692" y="350" /> <bpmndi:BPMNLabel> <dc:Bounds x="549" y="270" width="13" height="14" /> </bpmndi:BPMNLabel> </bpmndi:BPMNEdge> <bpmndi:BPMNShape id="ServiceTask_0s6kryf_di" bpmnElement="taskA"> <dc:Bounds x="330" y="130" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="ServiceTask_185s3ko_di" bpmnElement="taskB"> <dc:Bounds x="670" y="130" width="100" height="80" /> </bpmndi:BPMNShape> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram> </bpmn:definitions>
exception in console:
Error: invalid element specified
add Overlays.js:237
handleOverlayAdd main.58563552.chunk.js:6
addOverlay main.58563552.chunk.js:6
componentDidMount main.58563552.chunk.js:6
React 2
unstable_runWithPriority scheduler.production.min.js:19
React 4
unstable_runWithPriority scheduler.production.min.js:19
React 6
LOAD_STATE_STATISTICS main.58563552.chunk.js:6
publish main.58563552.chunk.js:6
publish main.58563552.chunk.js:6
o main.58563552.chunk.js:6
a main.58563552.chunk.js:6
s runtime.js:45
_invoke runtime.js:274
t runtime.js:97
Babel 6
pubLoadingStates main.58563552.chunk.js:6
fetchAndPublish main.58563552.chunk.js:6
getWorkflowInstancesStatistics main.58563552.chunk.js:6
fetchStatistics main.58563552.chunk.js:6
fetchWorkflowXML main.58563552.chunk.js:6
fetchNewData main.58563552.chunk.js:6
handleFilterUpdate main.58563552.chunk.js:6
componentDidUpdate main.58563552.chunk.js:6
React 2
unstable_runWithPriority scheduler.production.min.js:19
React 4
unstable_runWithPriority scheduler.production.min.js:19
React 9
unstable_runWithPriority scheduler.production.min.js:19
React 3
react-dom.production.min.js:209:194