Bug 1589837

Summary: unable to export all service dialogs
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: eclarizi
Status: CLOSED ERRATA QA Contact: Shveta <sshveta>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: cpelland, duhlmann, greartes, hkataria, lavenel, mkanoor, mpovolny, nansari, obarenbo, rmahique, simaishi, smallamp, sshveta, tfitzger
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 5.9.3.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1570298 Environment:
Last Closed: 2018-07-12 13:16:01 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: 1570298    
Bug Blocks:    

Comment 2 CFME Bot 2018-06-11 13:46:21 UTC
New commit detected on ManageIQ/manageiq/gaprindashvili:

https://github.com/ManageIQ/manageiq/commit/f984d7be552833dc5f03f5c5fad4982ca0a49626
commit f984d7be552833dc5f03f5c5fad4982ca0a49626
Author:     Greg McCullough <gmccullo>
AuthorDate: Mon May 21 16:03:10 2018 -0400
Commit:     Greg McCullough <gmccullo>
CommitDate: Mon May 21 16:03:10 2018 -0400

    Merge pull request #17436 from d-m-u/excluding_values_from_serializer

    Removes last call to automate from dialog_field serializer
    (cherry picked from commit 1009681373bed6951f4e5bcc6a9daa9e50dcfcfd)

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

 app/models/dialog_field_serializer.rb | 3 +-
 spec/models/dialog_field_serializer_spec.rb | 13 +
 2 files changed, 15 insertions(+), 1 deletion(-)

Comment 3 Shveta 2018-06-13 17:28:25 UTC
I don't have 100 dialogs in my appliance , but exporting all of them together or one at a time works fine.
However I see the automation method being executed while exporting .
So this issue might not have been fixed .

Please check appliance : https://10.8.198.194
5.9.3.1.20180606184006_8d120c0
Export - dynamic_refresh dialog and see AEmethod being executed in logs .

Comment 4 Sudhir Mallamprabhakara 2018-06-13 17:35:25 UTC
Failed QE against 5.9.3.1

Comment 5 drew uhlmann 2018-06-13 17:43:02 UTC
This code isn't on the appliance given in comment 3, we believe this is fixed in a later version. Please retest with the next build and master.

Comment 6 Shveta 2018-06-13 18:03:06 UTC
Automation methods are not executed in master with export of dialog .
Tested in  master.20180613010018_52176a7

Comment 7 Shveta 2018-06-13 18:03:47 UTC
Works in upstream master

Comment 8 Shveta 2018-06-20 17:51:14 UTC
Fixed in 5.9.3.2.20180619200710_4f909bc.
automate methods are not executed while exporting dialogs.

Comment 9 Chris Pelland 2018-07-05 16:20:39 UTC
*** Bug 1598431 has been marked as a duplicate of this bug. ***

Comment 11 errata-xmlrpc 2018-07-12 13:16:01 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-2018:2184