Bug 1518187

Summary: custom buttons not displayed for generic objects accessed through Automate menu
Product: Red Hat CloudForms Management Engine Reporter: Martin Kourim <mkourim>
Component: UI - OPSAssignee: Loic Avenel <lavenel>
Status: CLOSED WONTFIX QA Contact: Martin Kourim <mkourim>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.9.0CC: cpelland, hkataria, jhardy, mpovolny, obarenbo, pmcgowan
Target Milestone: GA   
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: generic_objects
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-23 21:25:15 UTC Type: Bug
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:
Attachments:
Description Flags
buttons not displayed
none
buttons displayed in service none

Description Martin Kourim 2017-11-28 11:37:26 UTC
Created attachment 1359791 [details]
buttons not displayed

Description of problem:
When generic object instance is accessed through the Automate menu, the customs buttons are not displayed.
When the same instance is added to service, the buttons are displayed when the generic object instance is accessed from the service.


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


How reproducible:
very


Steps to Reproduce:
1. create generic object class
2. add a new Button group and new Button for generic object class
3. create new generic object instance
4. display instance summary and see that the button is not displayed
5. add the instance to service with
POST /api/services/:id
{
	"action": "add_resource",
	"resource": { "resource": { "href": "https://<addr>/api/generic_objects/:id" } }
}
5. go to "Services" / "My Services", display generic objects instances, click on the instance, see that the button is displayed

Comment 2 Martin Kourim 2017-11-28 11:38:27 UTC
Created attachment 1359792 [details]
buttons displayed in service

Comment 3 Loic Avenel 2019-01-23 21:25:15 UTC
The intent is for user to use it via Services... We are going to close this requirements