Bug 1446272

Summary: "Copy from Provisioning" leaves "Remove resources?" field value as is
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.8.0CC: cpelland, dmisharo, hkataria, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.9.0   
Hardware: All   
OS: All   
Whiteboard: ui:ansible:service
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1449811 (view as bug list) Environment:
Last Closed: 2018-03-06 15:34:07 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: 1503438, 1506796    
Bug Blocks: 1449811    
Attachments:
Description Flags
Screenshot of the bug none

Description Dmitry Misharov 2017-04-27 14:43:29 UTC
Created attachment 1274714 [details]
Screenshot of the bug

Description of problem:
When creating ansible playbook catalog item "Copy from Provisioning" leaves "Remove resources?" field value as is, which is "Yes".

Version-Release number of selected component (if applicable):
5.8.0.12-rc1.20170425180304_4f35996

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.

Actual results:
"Remove resources?" field value remains "Yes".

Expected results:
"Remove resources?" field should have value "No".

Comment 4 Harpreet Kataria 2017-05-03 15:47:58 UTC
https://github.com/ManageIQ/manageiq-ui-classic/pull/1246

Comment 5 CFME Bot 2017-05-03 20:24:14 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/cc89cca4e950d706a8054b594c40f19af543dd79

commit cc89cca4e950d706a8054b594c40f19af543dd79
Author:     Harpreet Kataria <hkataria>
AuthorDate: Wed May 3 11:45:02 2017 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Wed May 3 11:45:02 2017 -0400

    Re-initialize 'Remove Resources' drop down after copy button is pressed.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1446272

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

Comment 7 Dmitry Misharov 2017-10-18 06:45:52 UTC
Blocked by https://bugzilla.redhat.com/show_bug.cgi?id=1503438

Comment 8 Dmitry Misharov 2017-11-03 08:59:58 UTC
Fixed and verified in 5.9.0.5.20171102023815_209f732. "Copy from Provisioning" button works correctly.