Bug 1525835

Summary: Duplicate flash message on resetting edit of Class Schema Sequence from Datastore
Product: Red Hat CloudForms Management Engine Reporter: Yadnyawalk Tale <ytale>
Component: UI - OPSAssignee: Greg Piatigorski <gpiatigo>
Status: CLOSED ERRATA QA Contact: Ganesh Hubale <ghubale>
Severity: low Docs Contact:
Priority: low    
Version: 5.9.0CC: cpelland, hkataria, lavenel, mpovolny, obarenbo, ohadlevy, simaishi, ytale
Target Milestone: GAFlags: ytale: automate_bug-
Target Release: 5.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:flash_msg:datastore
Fixed In Version: 5.11.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-12 13:33:21 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
two_flash none

Description Yadnyawalk Tale 2017-12-14 07:29:43 UTC
Created attachment 1367834 [details]
two_flash

Description of problem:
Duplicate flash message on resetting edit of Class Schema Sequence from Datastore

Version-Release number of selected component (if applicable):
5.9.0.12.20171205180333_3e32b3d 

How reproducible:
100%

Steps to Reproduce:
1. Navigate to Automation > Automate > Datastore
2. Enable `RedHat` Domain
3. Copy ManageIQ (Service/Provisioning/StateMachines/ServiceProvisionRequestApproval) Class to Redhat Domain
4. Goto that class and select `Edit Sequence` from configuration 
5. Make some changes and try to reset it

Actual results:
Two flash messages 

Expected results:
Need only one flash

Additional info:

Comment 6 Yadnyawalk Tale 2019-02-11 15:44:12 UTC
I am able to reproduce this issue on latest 5.10.1.0.20190206171834_d399434, 
@Harpreet, please check with existing Schema of Service/Provisioning/StateMachines/ServiceProvisionRequestApproval (check GIF for more info).

Comment 9 Greg Piatigorski 2019-02-11 23:54:19 UTC
Adding link to PR fix manually, not sure why, but BZ bot does not seem to auto pick up:

https://github.com/ManageIQ/manageiq-ui-classic/pull/5237

Comment 10 CFME Bot 2019-02-13 01:49:38 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/63e592f26b79589ba2a7440ba0eb4674f4198620
commit 63e592f26b79589ba2a7440ba0eb4674f4198620
Author:     Greg Piatigorski <gpiatigo>
AuthorDate: Mon Feb 11 16:49:43 2019 -0500
Commit:     Greg Piatigorski <gpiatigo>
CommitDate: Mon Feb 11 16:49:43 2019 -0500

    Automate Datastore Schema Edit reset click message

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

 app/views/miq_ae_class/_fields_seq_form.html.haml | 1 -
 1 file changed, 1 deletion(-)

Comment 15 errata-xmlrpc 2019-12-12 13:33:21 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