Skip to content

Trailing whitespaces lead to failures during the execution  #2385

@saig0

Description

@saig0

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:

image

We found this behavior in a Gameday.


Similar to #720
Related to bpmn-io/properties-panel#309

Metadata

Metadata

Labels

BPMNCamunda 7Flags an issue as related to Camunda Automation Platform 7Camunda 8Flags an issue as related to Camunda 8channel:customerenhancementNew feature or requestspring cleaningCould be cleaned up one dayux

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions