Bug 1439313

Summary: service dialog can be submitted before entry point code on dynamic fields has completed execution
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: eclarizi
Status: CLOSED ERRATA QA Contact: Shveta <sshveta>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: eclarizi, gblomqui, jhardy, mkanoor, myoder, obarenbo, rlsmith, simaishi, sshveta, tfitzger
Target Milestone: GA   
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: service
Fixed In Version: 5.8.0.10 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1431688 Environment:
Last Closed: 2017-05-31 14:49:00 UTC Type: ---
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: 1431688    
Bug Blocks:    

Comment 2 CFME Bot 2017-04-05 23:07:46 UTC
New commit detected on ManageIQ/manageiq-ui-service/fine:
https://github.com/ManageIQ/manageiq-ui-self_service/commit/de6f95f52992bd0134278936eed6dd590b947626

commit de6f95f52992bd0134278936eed6dd590b947626
Author:     Chris Kacerguis <chriskacerguis.github.com>
AuthorDate: Fri Mar 31 12:57:16 2017 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Wed Apr 5 19:06:02 2017 -0400

    Merge pull request #619 from eclarizio/BZ1431688
    
    Fix for service dialog being submitted before entry point code on dynamic fields has completed execution
    (cherry picked from commit 3f8539ffd53943e61d581c7da032aa52f5633487)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1439313

 client/app/states/catalogs/details/details.html    |  2 +-
 .../app/states/catalogs/details/details.state.js   | 13 +++++
 .../states/catalogs/details/details.state.spec.js  | 68 +++++++++++++++++++++-
 3 files changed, 79 insertions(+), 4 deletions(-)

Comment 4 Shveta 2017-05-02 22:27:21 UTC
Can I get the automate datastore used here ?
Thanks, 
Shveta

Comment 5 eclarizi 2017-05-08 17:54:25 UTC
Shveta, I don't really have a specific one, but it doesn't really matter as long as you have a dialog that has at least one field that gets refreshed. You simply shouldn't be able to add it to the shopping cart while it's being refreshed anymore.

Comment 6 Shveta 2017-05-09 19:14:51 UTC
Fixed .
Add to shopping cart is disabled while refresh is working .

Verified in 5.8.0.13-rc2.20170502165848_0f98658

Comment 8 errata-xmlrpc 2017-05-31 14:49:00 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/RHSA-2017:1367