Bug 1293740 - Schema fields reverse the order when added
Summary: Schema fields reverse the order when added
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: GA
: 5.5.2
Assignee: mkanoor
QA Contact: Ramesh A
URL:
Whiteboard:
Depends On: 1292791
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-22 21:58 UTC by Chris Pelland
Modified: 2016-02-10 15:30 UTC (History)
9 users (show)

Fixed In Version: 5.5.2.1
Doc Type: Bug Fix
Doc Text:
Clone Of: 1292791
Environment:
Last Closed: 2016-02-10 15:30:20 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0159 0 normal SHIPPED_LIVE CFME 5.5.2 bug fixes and enhancement update 2016-02-10 20:19:02 UTC

Comment 1 CFME Bot 2015-12-23 16:31:28 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=02bd4b2b0bffca222d7305a9d97cfac84944e9a4

commit 02bd4b2b0bffca222d7305a9d97cfac84944e9a4
Merge: ccfe61e d1715b8
Author:     Dan Clarizio <dclarizi>
AuthorDate: Wed Dec 23 11:27:53 2015 -0500
Commit:     Dan Clarizio <dclarizi>
CommitDate: Wed Dec 23 11:27:53 2015 -0500

    Merge branch 'bugzilla_1293740' into '5.5.z'
    
    Priority wasn't being set for new fields
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1293740
    
    The priority wasn't being set for the newly added fields, before
    being saved the fields were sorted and the fields with nil priority
    floated to the top. Set the fields to the highest priority if they
    are new
    
    Clean Cherry Pick from PR https://github.com/ManageIQ/manageiq/pull/5950
    
    See merge request !664

 app/controllers/miq_ae_class_controller.rb       |  4 ++-
 spec/controllers/miq_ae_class_controller_spec.rb | 31 ++++++++++++++++++++++++
 2 files changed, 34 insertions(+), 1 deletion(-)

Comment 3 Ramesh A 2016-01-18 16:12:40 UTC
Good to go. Verified and working fine in 5.5.2.1.20160114044944_395c086

Comment 4 errata-xmlrpc 2016-02-10 15:30:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:0159


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