Bug 1405177

Summary: Cannot save an edited class schema, get the error "Error during 'save': Name can't be blank"
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: Milan Falešník <mfalesni>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: cpelland, dajohnso, hkataria, jhardy, mfalesni, mkanoor, ncatling, obarenbo, tfitzger
Target Milestone: GA   
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: automate
Fixed In Version: 5.7.0.17 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1404788 Environment:
Last Closed: 2017-01-04 13:20:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1404788    
Bug Blocks:    

Comment 2 CFME Bot 2016-12-15 19:35:47 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/b81d21ed3b957788fad1d1d0cb7024fc4044e5bc

commit b81d21ed3b957788fad1d1d0cb7024fc4044e5bc
Author:     Greg McCullough <gmccullo>
AuthorDate: Thu Dec 15 14:23:58 2016 -0500
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Thu Dec 15 14:30:27 2016 -0500

    Merge pull request #13201 from h-kataria/ae_schema_editor_fix
    
    Fixed code to expect/set keys as strings instead of symbols in edit hash
    (cherry picked from commit 789d77ab3c76f8c36ef22c2584d34ae42d625c4c)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1405177

 app/controllers/miq_ae_class_controller.rb       | 22 +++++++-------
 app/views/miq_ae_class/_class_fields.html.haml   | 20 ++++++-------
 spec/controllers/miq_ae_class_controller_spec.rb | 38 +++++++++++++++++++++++-
 3 files changed, 57 insertions(+), 23 deletions(-)

Comment 3 Milan Falešník 2016-12-20 12:07:27 UTC
Verified in 5.7.0.17.

It is now possible to save changed class schema.

Comment 5 errata-xmlrpc 2017-01-04 13:20:17 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://rhn.redhat.com/errata/RHBA-2017-0012.html