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

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

    XMLWordPrintable

Details

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

      Attachments

        Issue Links

          Activity

            People

              elguardian@gmail.com Enrique González Martínez (Inactive)
              elguardian@gmail.com Enrique González Martínez (Inactive)
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: