bpmn-io / bpmnlint

Validate BPMN diagrams based on configurable lint rules.
MIT License
121 stars 36 forks source link

`no-bpmndi` fails with `Cannot read property 'filter' of undefined` #63

Closed nikku closed 2 years ago

nikku commented 2 years ago

Describe the Bug

On certain diagrams the no-bpmndi rule fails with a cryptic error.

Steps to Reproduce

  1. Download example diagram
  2. Lint using bpmnlint:recommended configuration
  3. See linting blowing up with error Cannot read property 'filter' of undefined

Expected Behavior

no-bpmndi rule evaluation is robust and does not blow up.

Environment