Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1117146

Summary: Process variable values are truncated much more than they need to be.
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jan Hrcek <jhrcek>
Component: Business CentralAssignee: Marco Rietveld <mrietvel>
Status: CLOSED EOL QA Contact: Lukáš Petrovický <lpetrovi>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: kverlaen
Target Milestone: DR3   
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 20:09:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Video showing the problem none

Description Jan Hrcek 2014-07-08 07:12:09 UTC
Created attachment 916279 [details]
Video showing the problem

Description of problem:
In Process Instances perspective it is possible to inspect values of process variables associated with given proc. instance. When you check Instance Details > Views > Process Variables, there is a table showing the variable values. When the values are too long (e.g. result of toString() applied to some complex object) they are truncated - only beginning of variable value is shown and then "..." is appended. 

The problem is that this truncation is much shorter then it needs to be - the visible part of variable takes only about 60% of the column width.

The problem is even more pronounced in "Variable history" modal dialog (click clock icon for given variable), which has limited width (and moreover is not resizable) so it displays even shorter preview of variable value. This behavior is very annoying, because longer values are not displayed in these tables and the table columns have to be resized all the time (or moused-over to see the full variable value in browser tooltip).

Observe the problem in the video attached.

Version-Release number of selected component (if applicable):
Tried this with latest BPMS 6.1 community build

How reproducible:
Always

Actual results:
The value of process variables are truncated too much.

Expected results:
The truncated value should take up most of the column width, not just about 60%

Comment 1 Mauricio Salatino 2014-08-12 11:24:01 UTC
This is already fixed in master using a different approach. All the new data grids should use the same approach for truncating the content.

Comment 2 Jan Hrcek 2014-10-13 08:10:24 UTC
Ok, verified with BPMS 6.1.0 DR3. Variable values are now truncated correctly both in 'Process Variables' section of Process instance details panel as well as in Variable History modal.

Comment 3 PnT Account Manager 2017-12-07 23:35:30 UTC
Employee 'msalatin' has left the company.