Bug 1519358 - Service Dialog Elements not sorting properly
Summary: Service Dialog Elements not sorting properly
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - Service
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: GA
: 5.10.0
Assignee: Oleg Barenboim
QA Contact: Niyaz Akhtar Ansari
URL:
Whiteboard:
Depends On:
Blocks: 1531677
TreeView+ depends on / blocked
 
Reported: 2017-11-30 16:06 UTC by Brant Evans
Modified: 2019-02-11 14:06 UTC (History)
8 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1531677 (view as bug list)
Environment:
Last Closed: 2019-02-11 14:06:49 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Service Dialog sorting example (67.75 KB, text/x-vhdl)
2017-11-30 16:06 UTC, Brant Evans
no flags Details

Description Brant Evans 2017-11-30 16:06:53 UTC
Created attachment 1360984 [details]
Service Dialog sorting example

Description of problem:
Sorting in Service Dialog Elements is broken. 

1) The sort is not honoring the sort order. Sorting is always descending for dropdowns and ascending for radio buttons.

2) Sorting of dropdown elements is different when sorting by value vs. description. The "None" selection is at the top (as expected) when sorting by value and at the bottom when sorting by description.

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

How reproducible:
Always

Steps to Reproduce:
1. Import the Service Dialog export attached to this BZ
2. Create a Service Catalog Item that uses the imported dialog
3. Order the Service Catalog Item

Actual results:
Dropdown and radio button fields are not sorted properly

Expected results:
Sorting works as defined in the dialog

Additional info:

Comment 2 Brant Evans 2017-11-30 16:08:45 UTC
The Service UI has the same problem (I think this is expected since moving the OPS UI to use the same dialog format as the SUI).

Comment 4 Chris Hale 2017-12-06 17:38:55 UTC
GH PR https://github.com/ManageIQ/ui-components/pull/212

Comment 6 Chris Hale 2017-12-13 15:16:58 UTC
This fix is strictly for sorting of dropdowns and radio lists.

Comment 8 Niyaz Akhtar Ansari 2018-09-04 08:58:30 UTC
Verified in Version 5.10.0.14.20180831154906_2f9a1dd


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