Bug 1403351

Summary: Can't Save Automate Methods with Input Parameters
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: 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, gmccullo, hkataria, jhardy, mfalesni, mpovolny, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.6.4.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1403026 Environment:
Last Closed: 2017-03-09 17:05:10 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:
Bug Depends On: 1403026    
Bug Blocks:    

Comment 2 CFME Bot 2016-12-14 02:26:06 UTC
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/fd7155d0e8e984e489fe787e1a2256110115976b

commit fd7155d0e8e984e489fe787e1a2256110115976b
Author:     Madhu Kanoor <mkanoor>
AuthorDate: Fri Dec 9 13:43:53 2016 -0500
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Tue Dec 13 21:21:56 2016 -0500

    Merge pull request #13087 from h-kataria/ae_method_editor_fix
    
    Fixed code to expect keys as strings instead of symbols.
    (cherry picked from commit c3171b816a7486f3dbf72b1c2661d8cbbb5ba229)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1403351

 app/controllers/miq_ae_class_controller.rb       |  8 ++-
 spec/controllers/miq_ae_class_controller_spec.rb | 68 ++++++++++++------------
 2 files changed, 37 insertions(+), 39 deletions(-)

Comment 3 Milan Falešník 2017-02-02 17:16:45 UTC
Verified in 5.6.4.0.20170201130751_9521533.

I was able to create a method with input parameters, I was able to add another, edit and delete, I also tried with having other method having the same parameters.

All worked.

Comment 5 errata-xmlrpc 2017-03-09 17:05:10 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-0474.html