Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-1961

Newly added system property - org.jbpm.correlationkey.length - does not truncate the "value" column in the CorrelationPropertyInfo table

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.2.0.GA
    • Fix Version/s: 7.3.1.GA
    • Component/s: jBPM Core
    • Labels:
    • Environment:
      • Red Hat Process Automation Manager (RHPAM) 7.2.0
    • Target Release:
    • Fix Build:
      CR1
    • Steps to Reproduce:
      • Create a test process instance and add correlation key that is longer then 255 (for the default table configuration);
      • An exception will be thrown and process will not start:

      Description

      The system property "org.jbpm.correlationkey.length" was added as part of the JIRA - RHPAM-1569 (https://issues.jboss.org/browse/RHPAM-1569) and it controls the size of the collaboration key that is stored in RHPAM database. By default, the size is set to 255 meaning that only first 255 characters of the correlation key will be stored in the "name" column in the CorrelationKeyInfo table as well in the "correlationKey" column in the ProcessInstanceLog table.

      The same correlation key will be stored in the "value" column in the CorrleationPropertyInfo but the number of characters stored in the "value" column is not controlled with the above system property. That means, that we'll have the same error if we try to add correlation key longer then what is defined in the database schema (255 by default).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  elguardian Enrique González Martínez
                  Reporter:
                  bkramer Biljana Kramer
                  Tester:
                  Marian Macik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: