Bug 1011925

Summary: Sort Data Modeler class names in select alphabetically when adding them via 'Form data origin'
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jan Hrcek <jhrcek>
Component: Form ModelerAssignee: Roger Martínez <romartin>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Hrcek <jhrcek>
Severity: low Docs Contact:
Priority: medium    
Version: 6.0.0CC: emajorsi, pzapataf, vigoyal
Target Milestone: ER5   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Summary: The selection list for adding Data Modeler classes as data origin in the Form Modeler is not sorted alphabetically. This makes it difficult to find and select a particular class when multiple classes are present. Cause: Data Modeler classes on the list for adding classes as data origin in the Form Modeler are not sorted alphabetically. Consequence: Difficulty in finding the desired classes on the list Fix: Please sort the list alphabetically. Result: The Data Modeler classes on the selection list are sorted in alphabetical order.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:10:03 UTC Type: Enhancement
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
Unsorted list of Data Modeler classes in select none

Description Jan Hrcek 2013-09-25 12:01:51 UTC
Created attachment 802760 [details]
Unsorted list of Data Modeler classes in select

Description of problem:
When adding Data Modeler classes as Form Data origin in Form Modeler, there is a select for choosing which class to add. Please sort the classes displayed in the select alphabeticaly. Because when multiple classes are present, it is quite hard to find the desired class in the unsorted list. See screenshot attached

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

How reproducible:
Always

Comment 1 Roger Martínez 2013-09-27 15:54:28 UTC
The select object values are ordered alphabeticaly.

Fixed in origin/master, see:
https://github.com/droolsjbpm/jbpm-form-modeler/commit/f64a3c29836c5c18deb69a27dc009af85ef68fbc

Comment 3 Jan Hrcek 2013-10-17 03:39:43 UTC
The problem is still present. I checked in BPMS ER4 with a decompiler and the fix is not included in it - the fix was made short time after the CR4 tag was created in the community 6.0.x branch. This is not a critical issue, so I'll leave the verification for next ER, where the fix will most likely be included.

Comment 4 Jan Hrcek 2013-12-02 08:12:36 UTC
Ok, enhancement has been implemented in BPMS 6.0.0 ER5.