Bug 1405177 - Cannot save an edited class schema, get the error "Error during 'save': Name can't be blank"
Summary: Cannot save an edited class schema, get the error "Error during 'save': Name ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.7.0
Assignee: Harpreet Kataria
QA Contact: Milan Falešník
URL:
Whiteboard: automate
Depends On: 1404788
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-15 19:30 UTC by Satoe Imaishi
Modified: 2017-01-04 13:20 UTC (History)
9 users (show)

Fixed In Version: 5.7.0.17
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1404788
Environment:
Last Closed: 2017-01-04 13:20:17 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0012 0 normal SHIPPED_LIVE CFME 5.7.0 bug fixes and enhancement update 2017-01-04 17:50:36 UTC

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


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