-
Notifications
You must be signed in to change notification settings - Fork 512
Description
Is your feature request related to a problem? Please describe.
In the Camunda Modeler, I created a BPMN process for Camunda Cloud. The process had a service task with an error boundary event attached to it. By accident, the error code of the error event had trailing whitespace.
The process was deployed successfully and process instances were created. While executing the process instances, error events were thrown from the job worker. These error events were not caught because of the trailing whitespace in the model. As a result, it created incidents.
Besides error events, similar problems can occur on other technical attributes (e.g. message name, job type, etc.).
Describe the solution you'd like
The Camunda Modeler detects trailing whitespace and removes them. I see no valid use case for having trailing whitespace.
Describe alternatives you've considered
Instead of removing trailing whitespace, the Camunda Modeler could show warnings that highlight the problem.
Additional context
Camunda Modeler for Camunda Cloud:
We found this behavior in a Gameday.
Similar to #720
Related to bpmn-io/properties-panel#309