Bug 1512512

Summary: Method get saves on first click but acts like it only saves after second click
Product: Red Hat CloudForms Management Engine Reporter: Yadnyawalk Tale <ytale>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED WORKSFORME QA Contact: Yadnyawalk Tale <ytale>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.9.0CC: akarol, hkataria, jhardy, mpovolny, obarenbo, ytale
Target Milestone: GAFlags: ytale: automate_bug-
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:automate
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-06 09:10:24 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:
Attachments:
Description Flags
buggy_behavior.gif none

Description Yadnyawalk Tale 2017-11-13 12:14:30 UTC
Created attachment 1351538 [details]
buggy_behavior.gif

Description of problem:
Bug is about Automate method. Pretty simple behavior: you have to click twice on `copy` button to display flash msg, but changes will save even after first click.

Version-Release number of selected component (if applicable):
5.9.0.7.20171107212356_ed87902

How reproducible:
100%

Steps to Reproduce:
1. Navigate to Automation -> Automate -> Explorer
2. Create test domain and add namespace, class and instance to it
3. Now goto ManageIQ / Cloud / VM / Retirement / Email / vm_retire_extend (Now you are on vm_retire_extend details page)
4. Select 'Copy this method' from toolbar
5. We are trying to copy 'vm_retire_extend' method to test domain (of step2)
6. Hit once on `Copy` button of paginator pane 

You won't notice effect showing on first click while method has been copied, but flash msg will only be been shown after the second click. 

Actual results:
Have to click twice, works only with first click but won't show result

Expected results:
Should show result on first click only

Additional info:
Attached GIF contains steps