Hide Forgot
Created attachment 1229671 [details] Screen shot of the error Description of problem: If an Automate Method has Input Parameters, we get a save error, "Error during Add name can't be blank" Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. Create a new Automate Method 2. Add Inout Parameters 3. Actual results: Error during Add name can't be blank Expected results: Should be able to save the method Additional info:
This is broken in Darga, Euwe and master. Does QE have test cases around this feature.
https://github.com/ManageIQ/manageiq/pull/13087
Milan, please review this and answer Madhu's question in comment 2 around test case coverage. We should have another review with him and the team around automate coverage in general.
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/cd6a6724d0af8cf85dfb700c5d27344ef7d3a904 commit cd6a6724d0af8cf85dfb700c5d27344ef7d3a904 Author: Harpreet Kataria <hkataria> AuthorDate: Fri Dec 9 10:53:54 2016 -0500 Commit: Harpreet Kataria <hkataria> CommitDate: Fri Dec 9 10:53:54 2016 -0500 Fixed code to expect keys as strings instead of symbols. This issue was introduced in https://github.com/ManageIQ/manageiq/pull/12322, some of the code is common between class schema editor and method editor that caused method editor to break. Fixed any affected spec tests. https://bugzilla.redhat.com/show_bug.cgi?id=1403026 app/controllers/miq_ae_class_controller.rb | 8 ++- spec/controllers/miq_ae_class_controller_spec.rb | 68 ++++++++++++------------ 2 files changed, 37 insertions(+), 39 deletions(-)
Verified on 5.8.0.2, it is possible to create a method with inputs.