Environment (Required on creation):
Camunda Platform 7.16
Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):
If a process instance has an object variable > 4000 characters (whether stored using JSON or Java serialization), trying to submit the task via Tasklist using a Camunda Form generates an error like:
Value too long for column "TEXT_ VARCHAR(4000)
Or:
Data truncation: Data too long for column 'TEXT_'
Even if the variable in question is not included on the Camunda Form.
Steps to reproduce (Required on creation):
Github repo using JSON serialization: https://github.com/jaggaer-c-hzakalus/camunda-form-question
Github repo using Java serialization: https://github.com/daniel-ewing/camunda-form-question/tree/serialize-java
- Obtain the project code.
- Run the project.
- Login to Tasklist at localhost:5555 admin/admin.
- Try to complete the task.
Observed Behavior (Required on creation):
Tasklist generates an error like:
An error happened while submitting the task form : Cannot submit task form 7369a288-6e7e-11ec-9270-005056c00008: An exception occurred in the persistence layer. Please check the server logs for a detailed message and the entire exception stack trace.
Expected behavior (Required on creation):
The task should submit correctly.