Details
-
Bug Report
-
Resolution: Fixed
-
L2 - Critical
-
None
Description
Steps to reproduce
- Deploy a BPMN model with a User Task and the following form field constraints:
<camunda:formField id="StringField" label="A string field" type="string"> <camunda:validation> <camunda:constraint name="maxlength" config="20" /> </camunda:validation> </camunda:formField>
- In Tasklist, start a new process instance
- Enter a string with 20 characters
- Complete the task
Observed Behavior
- The frontend validation passes
- The backend validation fails
Expected Behavior
The backend validation for maxlength is inclusive (similarity to minlength) and therefore accepts a string with 20 characters.
Hints