Bug 1500810

Summary: Unexpected error flash message after pressing Save button in Ansible Playbook catalog item
Product: Red Hat CloudForms Management Engine Reporter: Dmitry Misharov <dmisharo>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED CURRENTRELEASE QA Contact: Dmitry Misharov <dmisharo>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.9.0CC: hkataria, jhardy, lcouzens, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: Regression, TestOnly
Target Release: 5.9.0   
Hardware: All   
OS: All   
Whiteboard: ansible:service:ui
Fixed In Version: 5.9.0.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-06 14:49:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1506796    
Bug Blocks:    
Attachments:
Description Flags
Screenshot of the bug none

Description Dmitry Misharov 2017-10-11 14:18:39 UTC
Created attachment 1337261 [details]
Screenshot of the bug

Description of problem:
After pressing Save button in Ansible Playbook catalog item editing screen unexpected error flash message appeared.

Version-Release number of selected component (if applicable):
5.9.0.1.20171004215954_13427ce

How reproducible:
Always

Steps to Reproduce:
1. Open creation screen of Ansible Playbook catalog item.
2. Fill the required fields with some values.
3. Press Save button

Actual results:
Unexpected error flash message appeared with content: "e is undefined" and the catalog item is not saved. Also filled fields became empty again.

Expected results:
There shouldn't be the error message and the catalog item should be saved.

Comment 3 CFME Bot 2017-10-11 21:18:37 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/1f580a8d6da67ef254bd0a59502d142a9c3941cb

commit 1f580a8d6da67ef254bd0a59502d142a9c3941cb
Author:     Harpreet Kataria <hkataria>
AuthorDate: Wed Oct 11 12:52:21 2017 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Wed Oct 11 12:52:21 2017 -0400

    Fixed 2 JS method calls
    
    Fixed 2 method calls, this was introduced during changes to make this as common code to be used by playbook method editor.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1500810

 .../javascripts/controllers/catalog/catalog_item_form_controller.js     | 2 +-
 app/assets/javascripts/controllers/playbook-reusable-code-mixin.js      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comment 4 Harpreet Kataria 2017-10-17 21:25:40 UTC
*** Bug 1503307 has been marked as a duplicate of this bug. ***

Comment 5 Dmitry Misharov 2017-11-01 12:56:48 UTC
Fixed and verified in 5.9.0.3.20171017182919_5f3a0ce.