Bug 1283163 - Process variables truncated to 255 characters in Process Instance Details
Process variables truncated to 255 characters in Process Instance Details
Product: JBoss BPMS Platform 6
Classification: JBoss
Component: Business Central (Show other bugs)
Unspecified Unspecified
medium Severity high
: ---
: ---
Assigned To: Marco Rietveld
Jiri Locker
Depends On:
  Show dependency treegraph
Reported: 2015-11-18 07:00 EST by Jiri Locker
Modified: 2017-12-07 18:38 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jiri Locker 2015-11-18 07:00:46 EST
Description of problem:
Process Instance Details panel opens when a row is selected in Process Instances table. It has Process Variables tab where process instance variables can be viewed and edited. However variable values are trimmed to 255 characters. That means when a variable value is longer than 255 chars, the user is presented with an incomplete information. If the variable was read-only it would be acceptable but the user is allowed to edit & save the incomplete information which inevitably results in data loss.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Create a managed multi-project repository (in Administration).
2. In Project authoring, Repository structure, add new module.
3. Start promotion from master to dev or release branch.
4. Go to Process Management -> Process Instances, select PromoteAssets instance.
5. Select Process Variables tab, edit "Commits" variable.
6. Select the variable value, paste it into a text editor.

Actual results:
Adding a new module will create many files, so some of the PromoteAssets variables will exceed 255 characters. When editing Commits variable it's value is:

    message='New project [bug]',
    commitDate=Wed Nov 18 12:54:10 CET 2015,
    files=[bug/.global, bug/global/.gitignore, bug/global/backboneformsinclude.fw, bug/global/backbonejsinc

which is only 255 chars and obviously incomplete.

Expected results:
When editing process instance variable, the complete value should be shown, or the variable should be read-only if complete value cannot be presented.

Additional info:
Comment 1 Jiri Locker 2015-11-18 09:37:02 EST
Related server log message:

WARN  [org.jbpm.process.audit.VariableInstanceLog] (Thread-262 (HornetQ-client-global-threads-1064388826)) Variable content was trimmed as it was too long (more than 255 characters)
Comment 2 Bugzilla account termination 2017-12-07 18:38:27 EST
Employee 'msalatin@redhat.com' has left the company.

Note You need to log in before you can comment on or make changes to this bug.