Closed XiaoyuZhann closed 2 years ago
@XiaoyuZhann Thanks for the feedback it is a known issue - https://github.com/valb3r/flowable-bpmn-intellij-plugin/issues/176
It arises because <documentation>
tag of the <process>
must be at the beginning (but it is not mandated by underlying XSD supplied by Activiti):
I'll re-prioritize #176 accordingly
@XiaoyuZhann Fix will be available in 0.4.9.3 plugin version
Describe the bug activiti7 reported an error when saving the process generated using Activiti BPMN visualizer
To Reproduce Steps to reproduce the behavior:
Log
`2022-01-04 14:10:04.973 ERROR 5124 --- [ Test worker] o.a.e.impl.interceptor.CommandContext : Error while closing command context
org.activiti.bpmn.exceptions.XMLException: cvc-complex-type.2.4.a: 发现了以元素 'documentation' 开头的无效内容。应以 '{"http://www.omg.org/spec/BPMN/20100524/MODEL":flowElement, "http://www.omg.org/spec/BPMN/20100524/MODEL":artifact, "http://www.omg.org/spec/BPMN/20100524/MODEL":resourceRole, "http://www.omg.org/spec/BPMN/20100524/MODEL":correlationSubscription, "http://www.omg.org/spec/BPMN/20100524/MODEL":supports}' 之一开头。 at org.activiti.bpmn.converter.BpmnXMLConverter.convertToBpmnModel(BpmnXMLConverter.java:280) ~[activiti-bpmn-converter-7.1.0.M4.jar:na] at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:148) ~[activiti-engine-7.1.0.M4.jar:na] at org.activiti.engine.impl.bpmn.deployer.ParsedDeploymentBuilder.createBpmnParseFromResource(ParsedDeploymentBuilder.java:96) ~[activiti-engine-7.1.0.M4.jar:na]`
BPMN definition
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
IntelliJ version (please complete the following information):
Additional context Add any other context about the problem here.