Bug 1503438

Summary: "Copy from Provisioning" causes infinite spinner
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: high Docs Contact:
Priority: unspecified    
Version: 5.9.0CC: hkataria, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: Regression, TestOnly
Target Release: 5.9.0   
Hardware: All   
OS: All   
Whiteboard: ui:ansible:service
Fixed In Version: 5.9.0.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-06 14:52:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1506796    
Bug Blocks: 1446272, 1449624    

Description Dmitry Misharov 2017-10-18 06:44:35 UTC
Description of problem:
Pressing "Copy from Provisioning" in ansible playbook catalog item causes infinite spinner and the item cannot be saved.

Version-Release number of selected component (if applicable):
5.9.0.2.20171010190026_0413a06

How reproducible:
Always

Steps to Reproduce:
1. Enable Embedded Ansible role.
2. Wait until it will be enabled.
3. Navigate to Automation/Ansible.
4. Add some credential and repository with ansible playbook.
5. Navigate to Services/Catalogs/Catalog Items.
6. Open ansible catalog item creation dialog.
7. Fill Provision tab.
8. Open Retirement button, click "Copy from Provisioning" button.
9. Click "Ok" in the popup.

Actual results:
Infinite spinner

Expected results:
The values should be copied from the provision tab.

Comment 3 CFME Bot 2017-10-18 17:13:57 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/fb5c0f01c6034e08bb6f88d3c15dcddfb7745ab4

commit fb5c0f01c6034e08bb6f88d3c15dcddfb7745ab4
Author:     Harpreet Kataria <hkataria>
AuthorDate: Wed Oct 18 11:42:50 2017 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Wed Oct 18 11:42:50 2017 -0400

    Added call to turn spinner off after Copying Provisioning fields.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1503438

 .../javascripts/controllers/catalog/catalog_item_form_controller.js      | 1 +
 1 file changed, 1 insertion(+)

Comment 4 Dmitry Misharov 2017-11-03 07:55:40 UTC
Fixed and verified in 5.9.0.5.20171102023815_209f732.  "Copy from Provisioning" button works correctly.