Bug 1443691
Summary: | Error when executing a button assigned to a button group | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Shveta <sshveta> | ||||||
Component: | API | Assignee: | Tim Wade <twade> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Yadnyawalk Tale <ytale> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 5.8.0 | CC: | cpelland, dclarizi, jhardy, obarenbo, simaishi, twade | ||||||
Target Milestone: | GA | Keywords: | TestOnly | ||||||
Target Release: | 5.9.0 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | ssui | ||||||||
Fixed In Version: | 5.9.0.1 | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | |||||||||
: | 1452333 (view as bug list) | Environment: | |||||||
Last Closed: | 2018-03-06 15:16:16 UTC | Type: | Bug | ||||||
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: | |||||||||
Bug Blocks: | 1452333 | ||||||||
Attachments: |
|
Specifically, this error occurs for custom actions that belong to a generic custom button set. The SUI makes a request to the services endpoint for the custom_actions attribute and uses the buttons and button_groups properties to render the custom action buttons. When the action is invoked, the API will correctly process the custom action if it unassigned (does not belong to a custom button set), however, if the same custom action is assigned to a generic custom button set, the exception will be raised. The error message from the API is: {"error":{"kind":"bad_request","message":"Unsupported Custom Action <custom action name> for the services resource specified","klass":"Api::BadRequestError"}} *** Bug 1441851 has been marked as a duplicate of this bug. *** Created attachment 1349356 [details]
working_on_5.9.0.4.mp4
Working fine with this fix.
Verified on: 5.9.0.4.20171024163837_ef71ea6
|
Created attachment 1272702 [details] errr Description of problem: Version-Release number of selected component (if applicable): 5.8.0.11-beta2.20170418170914_a53d2a7 How reproducible: Steps to Reproduce: 1. In OPS UI create a dialog (Automate - Customization) 2. Automate - Customization - Button - create a button group and a button under it . 3. in SUI , click on the service and execute the button . Shows error "Error submitting request" Actual results: Expected results: Additional info: