Closed csouchet closed 1 year ago
I have checked the reference files in the bpmn-miwg-test-suite repository. All the files that have lanes declare laneset > lane, never declare lanes directly.
If this is in the BPMN specification, this is what it was expected. With this is verification, this is for sure. 🤟🏿
Describe the bug Currently, in bpmn-visualization@0.26.0, we parse the
Lane
from aLaneSet
and from aProcess
directly. (See theProcessConverter
https://github.com/process-analytics/bpmn-visualization-js/blob/v0.26.0/src/component/parser/json/converter/ProcessConverter.ts#L95) However according to the BPMN specification,Lane
lane is defined only within aLaneSet
.So, the
Lane
s are not parsed correctly.To Reproduce Steps to reproduce the behavior:
lane
directly inprocess
and nolaneset
)Expected behavior The lane should be not displayed, and we should have a warning/error for the bad format.
Desktop (please complete the following information):
Additional context If we remove the bad parsing, there is:
BPMN Specification
When a
Lane
is defined it is contained within aLaneSet
, which is contained within aProcess
.ℹ️ For more information: https://www.omg.org/spec/BPMN/2.0.2/PDF
⚠️ Check the contribution guidelines for BPMN support