Bug 1535215

Summary: Need to click two times on simulator to appear
Product: Red Hat CloudForms Management Engine Reporter: Yadnyawalk Tale <ytale>
Component: UI - OPSAssignee: Dávid Halász <dhalasz>
Status: CLOSED ERRATA QA Contact: Nikhil Dhandre <ndhandre>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.10.0CC: cbudzilo, cpelland, dajohnso, dmetzger, hkataria, lavenel, mpovolny, ndhandre, obarenbo, simaishi, ytale
Target Milestone: GAKeywords: Regression, Reopened
Target Release: 5.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: simulator:ui
Fixed In Version: 5.11.0.1 Doc Type: If docs needed, set a value
Doc Text:
This release of Red Hat CloudForms corrects an issue that previously required users to click twice to access the Automation simulator.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-12 13:33:48 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
Issue_GIF none

Description Yadnyawalk Tale 2018-01-16 20:47:33 UTC
Created attachment 1382150 [details]
Issue_GIF

Description of problem:
Need to click two times on simulator to appear

Version-Release number of selected component (if applicable):
master.20171206231308_1bfd713 (Upstream)

How reproducible:
100%

Steps to Reproduce:
1. Navigate to Automation > Automate > Customization 
2. Add custom button in Buttons accordion
3. Click that button and try to goto simulator 

Actual results:
You have to click two time, don't know why.

Expected results:
Should go to simulator with one click.

Additional info:
Issue not found on downstream 5.8 and 5.9.

Comment 4 Dave Johnson 2018-01-17 17:56:48 UTC
Please reopen if we see this on 5.9.0.17

Comment 5 Yadnyawalk Tale 2018-01-17 20:16:54 UTC
@Dávid Halász, Initially I rechecked it against 2 different appliance with cleared cache and it was showing problem, you can also see this in attached GIF too. 
But currently I am also not able to reproduce it, even after I am using same version of upstream, seems like something went wrong by my side.

@Dave, 5.9.0.17 not showing any problem, NOTABUG is correct resolution.

Thanks!

Comment 8 Nikhil Dhandre 2019-02-06 09:22:09 UTC
I tested this on all custom button objects. It's a very rare case. This bug is on EVM type object pointing to "Group" and "User". 

Extending this BZ. For those objects even "Object Attribute Type" and "Request" not auto select as per button.

Comment 9 Nikhil Dhandre 2019-02-06 15:13:29 UTC
This BZ not available on normal objects. It's on evm type objects so not reproducible on 5.9.
so It should address on 5.10.

Comment 16 CFME Bot 2019-02-14 13:02:14 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/56f1ab4e5335d085e98e224e8e2d36ace9d71761
commit 56f1ab4e5335d085e98e224e8e2d36ace9d71761
Author:     Dávid Halász <dhalasz>
AuthorDate: Mon Feb 11 16:21:42 2019 -0500
Commit:     Dávid Halász <dhalasz>
CommitDate: Mon Feb 11 16:21:42 2019 -0500

    Do not hide the spinner before the custom button simulate redirect

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1535215

 app/assets/javascripts/miq_application.js | 2 +
 1 file changed, 2 insertions(+)

Comment 17 Nikhil Dhandre 2019-05-03 09:41:01 UTC
Tested with Version 5.11.0.2.20190430174828_0e34dea

working fine... also observed the removal of EVM prefix from User and Group object. :thumsup.

Comment 21 errata-xmlrpc 2019-12-12 13:33:48 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:4199