camunda / bpmnlint-plugin-camunda-compat

A bpmnlint plug-in for Camunda BPMN compatibility.
MIT License
0 stars 2 forks source link

`Form must be defined` should be a warning #154

Closed barmac closed 6 months ago

barmac commented 7 months ago

Problem

Currently, a missing form is marked as an error. However, one can still deploy a diagram to Camunda 8.4.1 (this one I checked) even if a form is not defined. Moreover, there is a use case for such underimplemented form as reported by @NPDeehan in https://camunda.slack.com/archives/C0693F1NFK5/p1706613498853189.

Expected behavior

The linting rule should report a warning as we still want to encourage the users to define forms, but don't want to overreact as deployment can still succeed if form is missing.

nikku commented 6 months ago

Received additional feedback on this.

nikku commented 6 months ago

Moving this to ready as we've seen a bunch of internals already negatively affected by this. Plus this solution is agreed upon.

philippfromme commented 6 months ago

So the agreement is:

This means we have to split the rule as you can only set the level (error or warn) for a rule, not for individual reports.

nikku commented 6 months ago

Closed via https://github.com/camunda/bpmnlint-plugin-camunda-compat/pull/157.

@philippfromme Let's go ahead and integrate this.