Bug 1415300

Summary: Custom Attributes in WebUI Change Order as Created / Updated - Not sorted
Product: Red Hat CloudForms Management Engine Reporter: Jeffrey Cutter <jcutter>
Component: UI - OPSAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Stefanisin <jistefan>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: cpelland, hkataria, jhardy, jistefan, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:general
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1428897 (view as bug list) Environment:
Last Closed: 2017-06-12 16:05:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1428897    

Description Jeffrey Cutter 2017-01-20 19:44:57 UTC
Description of problem:

In the CloudForms standard Web UI, when looking at a VM or Instance etc. and looking at the Custom Attributes assigned, the order of the custom attributes is not consistent.  It changes as attributes are created / updated.

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

5.6.3.3

How reproducible:

Add custom attributes, note the order in the Web UI, update or add more custom attributes, note the change in order.

Actual results:

Custom attributes change order and are not sorted.

Expected results:

Custom attributes sorted by custom attribute name.

Comment 3 CFME Bot 2017-01-26 17:22:19 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/5366019db7451b0fa4da5466af67c68e6afe3578

commit 5366019db7451b0fa4da5466af67c68e6afe3578
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Tue Jan 24 16:06:19 2017 +0100
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Tue Jan 24 16:06:19 2017 +0100

    Sort custom attributes by attribute name
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1415300

 app/helpers/container_summary_helper.rb             | 2 +-
 app/helpers/ems_container_helper/textual_summary.rb | 2 +-
 app/helpers/host_helper/textual_summary.rb          | 4 ++--
 app/helpers/service_helper/textual_summary.rb       | 2 +-
 app/helpers/vm_cloud_helper/textual_summary.rb      | 4 ++--
 app/helpers/vm_helper/textual_summary.rb            | 4 ++--
 6 files changed, 9 insertions(+), 9 deletions(-)