Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-10113

Unable to update the task description with long string(more than 255 chars)

XMLWordPrintable

    • False
    • None
    • False
    • NEW
    • NEW
    • Hide
      • Deploy process with humanTask.
      • Try to update the task description with string longer than 255 chars using below REST API:
        • PUT /server/containers/{containerId}/tasks/{taskInstanceId}/description
      • Task description update will fail with exception.
      Show
      Deploy process with humanTask. Try to update the task description with string longer than 255 chars using below REST API: PUT /server/containers/{containerId}/tasks/{taskInstanceId}/description Task description update will fail with exception.
    • ---
    • ---

      Unable to update the task description with  long string(more than 255 chars), update failing with exception:

       

       
      2022-01-18 18:03:18,424 WARN  [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (default task-50) SQL Error: 22001, SQLState: 22001
      2022-01-18 18:03:18,425 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (default task-50) Value too long for column "MESSAGE VARCHAR(255)": "'Updated Description {From: ''rore jjkcn kfjcdkdofdkf sofkoxckc sdkdofkd dfk... (333)"; SQL statement:
      insert into TaskEvent (id, correlationKey, logTime, message, processInstanceId, processType, taskId, type, userId, OPTLOCK, workItemId) values (null, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [201-13]
      

       

              rhn-support-abhumbe Abhijit Humbe
              rhn-support-abhumbe Abhijit Humbe
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: