Bug 1292791
Summary: | Schema fields reverse the order when added | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Milan Falešník <mfalesni> | |
Component: | Automate | Assignee: | mkanoor | |
Status: | CLOSED ERRATA | QA Contact: | Dmitry Misharov <dmisharo> | |
Severity: | low | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 5.5.0 | CC: | cpelland, dclarizi, jhardy, mkanoor, obarenbo, tfitzger | |
Target Milestone: | GA | Keywords: | ZStream | |
Target Release: | 5.6.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | automate:ui | |||
Fixed In Version: | 5.6.0.0 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1293740 (view as bug list) | Environment: | ||
Last Closed: | 2016-06-29 15:22:33 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1293740 |
Description
Milan Falešník
2015-12-18 11:13:02 UTC
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/679a6ebebb506540a5c4709e9ce6f01cadaceda1 commit 679a6ebebb506540a5c4709e9ce6f01cadaceda1 Author: Madhu Kanoor <mkanoor> AuthorDate: Mon Dec 21 15:19:14 2015 -0500 Commit: Madhu Kanoor <mkanoor> CommitDate: Mon Dec 21 17:27:54 2015 -0500 Priority wasn't being set for new fields https://bugzilla.redhat.com/show_bug.cgi?id=1292791 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 app/controllers/miq_ae_class_controller.rb | 4 ++- spec/controllers/miq_ae_class_controller_spec.rb | 31 ++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=d1715b8ec4be883d025975571fb913b31eaf0799 commit d1715b8ec4be883d025975571fb913b31eaf0799 Author: Madhu Kanoor <mkanoor> AuthorDate: Mon Dec 21 15:19:14 2015 -0500 Commit: Madhu Kanoor <mkanoor> CommitDate: Wed Dec 23 10:00:12 2015 -0500 Priority wasn't being set for new fields https://bugzilla.redhat.com/show_bug.cgi?id=1292791 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 app/controllers/miq_ae_class_controller.rb | 4 ++- spec/controllers/miq_ae_class_controller_spec.rb | 31 ++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) Verified fixed in 5.6.0.1-beta2.20160413141124_e25ac0e. The sequence of the schema fields has the right order. 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:1348 |