Bug 1446272 - "Copy from Provisioning" leaves "Remove resources?" field value as is
Summary: "Copy from Provisioning" leaves "Remove resources?" field value as is
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.8.0
Hardware: All
OS: All
medium
medium
Target Milestone: GA
: 5.9.0
Assignee: Harpreet Kataria
QA Contact: Dmitry Misharov
URL:
Whiteboard: ui:ansible:service
Depends On: 1503438 1506796
Blocks: 1449811
TreeView+ depends on / blocked
 
Reported: 2017-04-27 14:43 UTC by Dmitry Misharov
Modified: 2018-03-06 15:34 UTC (History)
7 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1449811 (view as bug list)
Environment:
Last Closed: 2018-03-06 15:34:07 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot of the bug (41.49 KB, image/png)
2017-04-27 14:43 UTC, Dmitry Misharov
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.