Bug 1389187
Summary: | Changes to class attribute default value are discarded | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Fabien Dupont <fdupont> | |
Component: | UI - OPS | Assignee: | Harpreet Kataria <hkataria> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Shveta <sshveta> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 5.7.0 | CC: | cpelland, hkataria, jhardy, mkanoor, mpovolny, obarenbo, simaishi, sshveta, tfitzger | |
Target Milestone: | GA | Keywords: | TestOnly | |
Target Release: | 5.8.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | automate:ui | |||
Fixed In Version: | 5.8.0.0 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1393027 1399285 (view as bug list) | Environment: | ||
Last Closed: | 2017-06-12 16:20:58 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: | 1393027, 1396412, 1399285 |
Description
Fabien Dupont
2016-10-27 06:55:09 UTC
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/b28d17cbaa73ca7bd0f090b386109ac66d73eeba commit b28d17cbaa73ca7bd0f090b386109ac66d73eeba Author: Harpreet Kataria <hkataria> AuthorDate: Mon Oct 31 22:08:42 2016 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Tue Nov 1 10:17:50 2016 -0400 Changed to have consistency in keys in schema editor - Made changes to automate schema editor code to get/set all keys in @edit as symbols, some of the keys in existing code were symbols and others were strings, changed them all to be symbols. - Added spec test to verify changes and fixed any existing broken spec tests. https://bugzilla.redhat.com/show_bug.cgi?id=1389187 app/controllers/miq_ae_class_controller.rb | 21 +++--- app/views/miq_ae_class/_class_fields.html.haml | 24 +++---- spec/controllers/miq_ae_class_controller_spec.rb | 75 +++++++++++++++------- .../miq_ae_class/_class_fields.html.haml_spec.rb | 57 ++++++++++++++++ 4 files changed, 133 insertions(+), 44 deletions(-) create mode 100644 spec/views/miq_ae_class/_class_fields.html.haml_spec.rb New commit detected on ManageIQ/manageiq/euwe: https://github.com/ManageIQ/manageiq/commit/a3d263ac8e2a6ce288fc07b74e0d02cc06149ab2 commit a3d263ac8e2a6ce288fc07b74e0d02cc06149ab2 Author: Dan Clarizio <dclarizi> AuthorDate: Thu Nov 3 14:24:57 2016 -0700 Commit: Oleg Barenboim <chessbyte> CommitDate: Mon Nov 7 15:51:10 2016 -0500 Merge pull request #12322 from h-kataria/class_schema_editor_fix Changed to have consistency in keys in schema editor (cherry picked from commit 32f1bc8cc20dec7bbed5caf52f90b874f1c533cc) https://bugzilla.redhat.com/show_bug.cgi?id=1389187 app/controllers/miq_ae_class_controller.rb | 21 +++--- app/views/miq_ae_class/_class_fields.html.haml | 24 +++---- spec/controllers/miq_ae_class_controller_spec.rb | 75 +++++++++++++++------- .../miq_ae_class/_class_fields.html.haml_spec.rb | 57 ++++++++++++++++ 4 files changed, 133 insertions(+), 44 deletions(-) create mode 100644 spec/views/miq_ae_class/_class_fields.html.haml_spec.rb *** Bug 1396412 has been marked as a duplicate of this bug. *** *** Bug 1399285 has been marked as a duplicate of this bug. *** Default value changes. verified in 5.8.0.4.20170307183144_745a3d9 |