Closed jonathanlukas closed 1 year ago
Can you share the diagram? The implementation
rule shouldn't be used to lint Camunda 7 diagrams.
failing-element-template.bpmn.txt
When applying the above provided template to this bpmn xml, the modeler breaks.
This is a bug we want to fix.
I've tried to reproduce this issue using the context you provided @jonathanlukas and failed:
Please ensure it is not plug-ins causing this side-effect.
<bpmn:serviceTask id="Activity_06jyj77" name="This task cannot have an element template applied" camunda:modelerTemplate="deepJavaNestedConnector" camunda:type="external" camunda:topic="deepNestedConnector">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="inputVariableName" />
<camunda:inputParameter name="inputDataMapper" />
<camunda:inputParameter name="outputDataMapper" />
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1cbjocq</bpmn:incoming>
</bpmn:serviceTask>
@jonathanlukas Moved this issue over to camunda/bpmnlint-plugin-camunda
as we found these rules blow up on the diagram in question. Please update your steps to reproduce (share a diagram that blows the linter up) and we can take bug fixing from there.
PR fixing this issue via https://github.com/camunda/bpmnlint-plugin-camunda/pull/25.
Describe the bug
When a bpmn diagram contains
bpmn:extensionElements
on a bpmn element, the linting rule breaks.This error is caught and written to the linter, but without an id of the element. On processing the reports on the linting tab, this leads to an exception when generating the report name.
Steps to reproduce
Activate this rule set on the Camunda Modeler
Open this diagram: failing-element-template.bpmn.txt
The rule breaks
Expected behavior
The rule should just run through and not crash
Environment
Additional context
No response