Description of problem: A custom button doesn't work on a service which has no parent catalog item associated with it. Custom button created using a service dialog. Version-Release number of selected component (if applicable): cfme-5.9.2 How reproducible: Always Steps to Reproduce: 1. Create a temporary service dialog. 2. Create a custom button in under 'Service' Object Types and link above service dialog to the button. 3. Go to Services -> My Services and try executing custom button on Service where 'Parent Catalog Item' is 'None'. Actual results: Nothing happens. Expected results: The submit button should work, call the automation and give acknowledgment(successful/Error) message.
Created attachment 1454541 [details] Dialog
Created attachment 1454542 [details] Custom button
Created attachment 1454543 [details] Service
Created attachment 1454545 [details] Submit
Additional Info: This is working on RHCF 4.5 but not working on 4.6
Erik - Please review. From automate you can create a service that is not directly derived from a service template. The custom buttons are showing but but when running the custom button they are seeing two sets of buttons. (See the Submit image in comment #5)
I know there are images attached. I saw them. I'm having a difficult time reproducing. May I please have an env to reproduce this on?
*** This bug has been marked as a duplicate of bug 1568372 ***
Nikhil - I validated this issue upstream and also against the latest test build of 5.9.3.4. You will need to follow the proper hotfix request process to obtain the hotfix rpm. I will leave the ticket open for the moment but believe that the proper status is closed - dup as I set previously.
*** Bug 1595175 has been marked as a duplicate of this bug. ***
There is an error in the api log: [----] I, [2018-07-13T07:39:16.893192 #14154:4f1b680] INFO -- : MIQ(Api::ServicesController.custom_action_resource) Invoking add nfs share on services id 99000000000032 [----] E, [2018-07-13T07:39:16.904206 #14154:4f1b680] ERROR -- : MIQ(Api::ServicesController.api_error) API Error [----] E, [2018-07-13T07:39:16.904375 #14154:4f1b680] ERROR -- : MIQ(Api::ServicesController.api_error) Api::BadRequestError: Unsupported Custom Action add nfs share for the services resource specified [----] I, [2018-07-13T07:39:16.905266 #14154:4f1b680] INFO -- : MIQ(Api::ServicesController.log_request) Response: {:completed_at=>"2018-07-13 11:39:16 UTC", :size=>"0.151 KBytes", :time_taken=>"0.033 Seconds", :status=>400}
https://github.com/ManageIQ/manageiq/pull/17703