fix(modeling): correct DataStoreBehavior updating multiple stores
This commit is contained in:
parent
757d358be4
commit
300e7010c4
|
@ -144,7 +144,9 @@ export default function DataStoreBehavior(
|
||||||
.filter(function(dataStore) {
|
.filter(function(dataStore) {
|
||||||
return isDescendant(dataStore, shape);
|
return isDescendant(dataStore, shape);
|
||||||
})
|
})
|
||||||
.forEach(updateDataStoreParent);
|
.forEach(function(dataStore) {
|
||||||
|
updateDataStoreParent(dataStore);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.15.0-dev" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
|
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.17.0-dev" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
|
||||||
<bpmn:collaboration id="Collaboration">
|
<bpmn:collaboration id="Collaboration">
|
||||||
<bpmn:participant id="Participant" processRef="Process" />
|
<bpmn:participant id="Participant" processRef="Process" />
|
||||||
<bpmn:participant id="Participant_2" processRef="Process_2" />
|
<bpmn:participant id="Participant_2" processRef="Process_2" />
|
||||||
</bpmn:collaboration>
|
</bpmn:collaboration>
|
||||||
<bpmn:process id="Process" isExecutable="false">
|
<bpmn:process id="Process" isExecutable="false">
|
||||||
<bpmn:dataStoreReference id="DataStoreReference" />
|
<bpmn:dataStoreReference id="DataStoreReference" />
|
||||||
|
<bpmn:dataStoreReference id="DataStoreReference_2" />
|
||||||
</bpmn:process>
|
</bpmn:process>
|
||||||
<bpmn:process id="Process_2" isExecutable="false" />
|
<bpmn:process id="Process_2" isExecutable="false" />
|
||||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
@ -22,6 +23,9 @@
|
||||||
<bpmndi:BPMNShape id="Participant_066vvzt_di" bpmnElement="Participant_2">
|
<bpmndi:BPMNShape id="Participant_066vvzt_di" bpmnElement="Participant_2">
|
||||||
<dc:Bounds x="50" y="500" width="600" height="250" />
|
<dc:Bounds x="50" y="500" width="600" height="250" />
|
||||||
</bpmndi:BPMNShape>
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="DataStoreReference_2_di" bpmnElement="DataStoreReference_2">
|
||||||
|
<dc:Bounds x="128" y="375" width="50" height="50" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
</bpmndi:BPMNPlane>
|
</bpmndi:BPMNPlane>
|
||||||
</bpmndi:BPMNDiagram>
|
</bpmndi:BPMNDiagram>
|
||||||
</bpmn:definitions>
|
</bpmn:definitions>
|
||||||
|
|
Loading…
Reference in New Issue