-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timer validator disallows whitespace at the end or in the beginning #4818
Comments
I am able to reproduce this issue. We are too strict when validating cron expressions. |
This problem is present when you add whitespace to the expression, e.g. + * * * * * *
- * * * * * * The timer is successfully registered even though linting shows an error.
Is there any use case to keep the whitespace? |
It's a small issue with little complexity. It needs to be fixed in the timer rule: https://github.com/camunda/bpmnlint-plugin-camunda-compat/tree/main/rules/camunda-cloud/timer |
If this is about whitespace, then bpmn-io/properties-panel#309 is relevant. I do think that the rule should simply be a little bit more forgiving, and trimming whitespace (in the modeler) is a separate issue. |
I think so. The cron expression from the screenshot that I typed manually worked fine. Only after I added the whitespace, the Modeler reported a problem. |
Describe the bug
Steps to reproduce
Expected behavior
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: