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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.3.1.GA
    • 7.2.0.GA
    • jBPM Core
      • Red Hat Process Automation Manager (RHPAM) 7.2.0
    • CR1
    • +
      • 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:

      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).

              elguardian@gmail.com Enrique González Martínez (Inactive)
              rhn-support-bkramer1 Biljana Kramer
              Marian Macik Marian Macik
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: