-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workflow cannot be saved #3758
Comments
The underlying xml representation seems to be corrupted. If the workflow xml was wrong and missing the connections somehow it might be that manually correcting them put the workflow in a weird state? That might get solved by looking at the xml in #3754. |
XML after saving<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:template="http://www.kitodo.org/template" id="sample-diagram" targetNamespace="http://bpmn.io/schema/bpmn" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
<bpmn2:process id="ChangeME" name="ChangeME" isExecutable="false" template:outputName="ChangeME">
<bpmn2:startEvent id="StartEvent_1">
<bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
</bpmn2:startEvent>
<bpmn2:task id="Task_1" name="Titelaufnahme" template:editType="4" template:processingStatus="1" template:permittedUserRole="1" template:typeMetadata="false" template:separateStructure="false" template:typeAutomatic="false" template:typeImagesRead="false" template:typeImagesWrite="false" template:typeExportDMS="false" template:typeAcceptClose="false" template:typeCloseVerify="false" template:batchStep="false" template:concurrent="true" template:repeatOnCorrection="false">
<bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
</bpmn2:task>
<bpmn2:sequenceFlow id="SequenceFlow_1" sourceRef="StartEvent_1" targetRef="Task_1" />
<bpmn2:task id="Task_2" name="Scannen" template:editType="4" template:processingStatus="0" template:permittedUserRole="1" template:typeMetadata="false" template:separateStructure="false" template:typeAutomatic="false" template:typeImagesRead="true" template:typeImagesWrite="true" template:typeExportDMS="false" template:typeAcceptClose="false" template:typeCloseVerify="false" template:batchStep="false" template:concurrent="true" template:repeatOnCorrection="false">
<bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
</bpmn2:task>
<bpmn2:sequenceFlow id="SequenceFlow_2" sourceRef="Task_1" targetRef="Task_2" />
<bpmn2:task id="Task_3" name="TIFs einspielen" template:editType="4" template:processingStatus="0" template:permittedUserRole="1" template:typeMetadata="true" template:separateStructure="false" template:typeAutomatic="false" template:typeImagesRead="true" template:typeImagesWrite="true" template:typeExportDMS="false" template:typeAcceptClose="false" template:typeCloseVerify="false" template:batchStep="false" template:concurrent="true" template:repeatOnCorrection="false">
<bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
</bpmn2:task>
<bpmn2:sequenceFlow id="SequenceFlow_3" sourceRef="Task_2" targetRef="Task_3" />
<bpmn2:task id="Task_4" name="Seitenkontrolle und-paginierung" template:editType="4" template:processingStatus="0" template:permittedUserRole="1" template:typeMetadata="true" template:separateStructure="false" template:typeAutomatic="false" template:typeImagesRead="true" template:typeImagesWrite="true" template:typeExportDMS="false" template:typeAcceptClose="false" template:typeCloseVerify="false" template:batchStep="false" template:concurrent="true" template:repeatOnCorrection="false">
<bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>
</bpmn2:task>
<bpmn2:sequenceFlow id="SequenceFlow_4" sourceRef="Task_3" targetRef="Task_4" />
<bpmn2:task id="Task_5" name="Struktur- und Metadatenerfassung" template:editType="4" template:processingStatus="0" template:permittedUserRole="1" template:typeMetadata="true" template:separateStructure="false" template:typeAutomatic="false" template:typeImagesRead="true" template:typeImagesWrite="true" template:typeExportDMS="false" template:typeAcceptClose="false" template:typeCloseVerify="false" template:batchStep="false" template:concurrent="true" template:repeatOnCorrection="false">
<bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>
</bpmn2:task>
<bpmn2:sequenceFlow id="SequenceFlow_5" sourceRef="Task_4" targetRef="Task_5" />
<bpmn2:task id="Task_6" name="Export Digitale Bibliothek" template:editType="4" template:processingStatus="0" template:permittedUserRole="1" template:typeMetadata="true" template:separateStructure="false" template:typeAutomatic="false" template:typeImagesRead="true" template:typeImagesWrite="true" template:typeExportDMS="false" template:typeAcceptClose="false" template:typeCloseVerify="false" template:batchStep="false" template:concurrent="true" template:repeatOnCorrection="false">
<bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>
<bpmn2:outgoing>Flow_078asc0</bpmn2:outgoing>
</bpmn2:task>
<bpmn2:sequenceFlow id="SequenceFlow_6" sourceRef="Task_5" targetRef="Task_6" />
<bpmn2:task id="Task_8" name="PubPharm Datensatz" template:editType="4" template:processingStatus="0" template:permittedUserRole="1" template:typeMetadata="false" template:separateStructure="false" template:typeAutomatic="false" template:typeImagesRead="false" template:typeImagesWrite="false" template:typeExportDMS="false" template:typeAcceptClose="false" template:typeCloseVerify="false" template:batchStep="false" template:concurrent="true" template:repeatOnCorrection="false">
<bpmn2:incoming>SequenceFlow_8</bpmn2:incoming>
<bpmn2:incoming>Flow_078asc0</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_9</bpmn2:outgoing>
</bpmn2:task>
<bpmn2:sequenceFlow id="SequenceFlow_8" targetRef="Task_8" />
<bpmn2:task id="Task_9" name="Titelaufnahme O-Datensatz" template:editType="4" template:processingStatus="0" template:permittedUserRole="1" template:typeMetadata="false" template:separateStructure="false" template:typeAutomatic="false" template:typeImagesRead="false" template:typeImagesWrite="false" template:typeExportDMS="false" template:typeAcceptClose="false" template:typeCloseVerify="false" template:batchStep="false" template:concurrent="true" template:repeatOnCorrection="false">
<bpmn2:incoming>SequenceFlow_9</bpmn2:incoming>
<bpmn2:outgoing>Flow_0zz0irg</bpmn2:outgoing>
</bpmn2:task>
<bpmn2:sequenceFlow id="SequenceFlow_9" sourceRef="Task_8" targetRef="Task_9" />
<bpmn2:endEvent id="EndEvent_1">
<bpmn2:incoming>SequenceFlow_9</bpmn2:incoming>
<bpmn2:incoming>Flow_0zz0irg</bpmn2:incoming>
</bpmn2:endEvent>
<bpmn2:sequenceFlow id="Flow_078asc0" sourceRef="Task_6" targetRef="Task_8" />
<bpmn2:sequenceFlow id="Flow_0zz0irg" sourceRef="Task_9" targetRef="EndEvent_1" />
</bpmn2:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="ChangeME">
<bpmndi:BPMNEdge id="SequenceFlow_9_di" bpmnElement="SequenceFlow_9">
<di:waypoint x="1498" y="258" />
<di:waypoint x="1548" y="258" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1523" y="247" width="0" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_6_di" bpmnElement="SequenceFlow_6">
<di:waypoint x="1198" y="258" />
<di:waypoint x="1248" y="258" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1223" y="247" width="0" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_5_di" bpmnElement="SequenceFlow_5">
<di:waypoint x="1048" y="258" />
<di:waypoint x="1098" y="258" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1073" y="247" width="0" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_4_di" bpmnElement="SequenceFlow_4">
<di:waypoint x="898" y="258" />
<di:waypoint x="948" y="258" />
<bpmndi:BPMNLabel>
<dc:Bounds x="923" y="247" width="0" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_3_di" bpmnElement="SequenceFlow_3">
<di:waypoint x="748" y="258" />
<di:waypoint x="798" y="258" />
<bpmndi:BPMNLabel>
<dc:Bounds x="773" y="247" width="0" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_2_di" bpmnElement="SequenceFlow_2">
<di:waypoint x="598" y="258" />
<di:waypoint x="648" y="258" />
<bpmndi:BPMNLabel>
<dc:Bounds x="623" y="247" width="0" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1_di" bpmnElement="SequenceFlow_1">
<di:waypoint x="448" y="258" />
<di:waypoint x="498" y="258" />
<bpmndi:BPMNLabel>
<dc:Bounds x="473" y="237" width="0" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_078asc0_di" bpmnElement="Flow_078asc0">
<di:waypoint x="1348" y="258" />
<di:waypoint x="1398" y="258" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0zz0irg_di" bpmnElement="Flow_0zz0irg">
<di:waypoint x="1648" y="258" />
<di:waypoint x="1698" y="258" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_1" bpmnElement="StartEvent_1">
<dc:Bounds x="412" y="240" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_1_di" bpmnElement="Task_1">
<dc:Bounds x="498" y="218" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_2_di" bpmnElement="Task_2">
<dc:Bounds x="648" y="218" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_3_di" bpmnElement="Task_3">
<dc:Bounds x="798" y="218" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_4_di" bpmnElement="Task_4">
<dc:Bounds x="948" y="218" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_5_di" bpmnElement="Task_5">
<dc:Bounds x="1098" y="218" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_6_di" bpmnElement="Task_6">
<dc:Bounds x="1248" y="218" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_8_di" bpmnElement="Task_8">
<dc:Bounds x="1398" y="218" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_9_di" bpmnElement="Task_9">
<dc:Bounds x="1548" y="218" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EndEvent_1_di" bpmnElement="EndEvent_1">
<dc:Bounds x="1698" y="240" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1716" y="280" width="0" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn2:definitions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When trying to saving a workflow, it gets the following error. This was happening with the workflow from the migration test VM which did not get all the arrows (after correcting them manually):
Date/time: 2020-06-10 13:47:03
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0
User IP: 192.168.91.1
Request URI: /kitodo/pages/workflowEdit.jsf
Ajax request: Yes
Status code: 500
Exception type: class org.camunda.bpm.model.xml.ModelParseException
Exception message: SAXException while parsing input stream
Exception UUID:
Stack trace:
Database to reproduce this: dump.sql
Steps to reproduce: Go to system » migrate. Click “Create workflow”, select all projects, proceed, select first line from database (with 5 processes). In the window that appears, choose “create new workflow”. Do required changes to workflow (add missing arrows, assign roles to steps), click “save”.
The text was updated successfully, but these errors were encountered: