Bug 1484541

Summary: Custom button not passing target object to dynamic dialog fields
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: eclarizi
Status: CLOSED ERRATA QA Contact: Milan Falešník <mfalesni>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: eclarizi, jhardy, mfalesni, mkanoor, obarenbo, simaishi, tfitzger
Target Milestone: GAKeywords: ZStream
Target Release: 5.7.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.7.4.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1481380 Environment:
Last Closed: 2017-12-18 20:29:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1481380    
Bug Blocks:    

Comment 2 CFME Bot 2017-08-23 20:05:58 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/04f7d7d3dc0169139db037eb250665f9b45b2bb4

commit 04f7d7d3dc0169139db037eb250665f9b45b2bb4
Author:     Greg McCullough <gmccullo>
AuthorDate: Mon Aug 14 17:39:58 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Wed Aug 23 16:04:47 2017 -0400

    Merge pull request #15810 from eclarizio/fix_for_nil_dialog
    
    Fix for custom button not passing target object to dynamic dialog fields
    (cherry picked from commit ad6fdb6916ebb747b623f1404a6be4ac8aeafa8c)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1484541

 app/models/dialog.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 3 Milan Falešník 2017-10-03 12:15:55 UTC
Verified in 5.7.4.0

# tail -fn0 log/automation.log | egrep 'vmdb_object_type|service_id'
INFO -- : Q-task_id([resource_action_46]) <AEMethod inspectme> 	 Attribute: service_id = 1
INFO -- : Q-task_id([resource_action_46]) <AEMethod inspectme> 	 Attribute: vmdb_object_type = service

Comment 6 errata-xmlrpc 2017-12-18 20:29:09 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:3484