Bug 1650085 - 400 Bad Request displayed when trying to create button with same description on generic object class
Summary: 400 Bad Request displayed when trying to create button with same description ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.10.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.11.0
Assignee: Zita Nemeckova
QA Contact: John Dupuy
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1686018
TreeView+ depends on / blocked
 
Reported: 2018-11-15 10:34 UTC by Niyaz Akhtar Ansari
Modified: 2020-04-07 11:57 UTC (History)
10 users (show)

Fixed In Version: 5.11.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1686018 (view as bug list)
Environment:
Last Closed: 2019-12-13 15:08:42 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Error (128.75 KB, image/png)
2018-11-15 10:34 UTC, Niyaz Akhtar Ansari
no flags Details

Description Niyaz Akhtar Ansari 2018-11-15 10:34:58 UTC
Created attachment 1506018 [details]
Error

Description of problem:


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


How reproducible:
100%

Steps to Reproduce:
1.Go to automation->Automate->Generic Objects
2.Create Generic Objects Class
3.Add New button
4.Add one more button with same name

Actual results:
Error occurs while adding button with same name in generic object class page

Expected results:
It should display duplicate name validation message 

Additional info:

Comment 5 CFME Bot 2018-12-11 14:26:30 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/55d7178afa14f8fa3c9ca5b7e8dab7b1a532e8f0
commit 55d7178afa14f8fa3c9ca5b7e8dab7b1a532e8f0
Author:     Zita Nemeckova <znemecko>
AuthorDate: Wed Nov 21 04:07:29 2018 -0500
Commit:     Zita Nemeckova <znemecko>
CommitDate: Wed Nov 21 04:07:29 2018 -0500

    Catch 400 error and display it in flash message instead of modal with API error

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

 app/assets/javascripts/components/generic_object/main-custom-button-form-component.js | 25 +-
 1 file changed, 23 insertions(+), 2 deletions(-)


Note You need to log in before you can comment on or make changes to this bug.