Bug 1745884

Summary: Server Error (API) when creating Orchestration Template with duplicate content
Product: Red Hat CloudForms Management Engine Reporter: Niyaz Akhtar Ansari <nansari>
Component: UI - OPSAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED EOL QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.11.0CC: bmidwood, hkataria, lavenel, mpovolny, mshriver, obarenbo
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1767648 (view as bug list) Environment:
Last Closed: 2020-03-25 18:03:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1767648    
Attachments:
Description Flags
error none

Description Niyaz Akhtar Ansari 2019-08-27 06:56:18 UTC
Created attachment 1608389 [details]
error

Description of problem:


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


How reproducible:
100%

Steps to Reproduce:
1. Navigate to Services-> Catalogs-> Orchestration Templates accordion 
2. Add a new Orchestration Template
3. Add one more Orchestration Template with same Content

Actual results:
Server Error (API) when creating Orchestration Template with duplicate content 

Expected results:


Additional info:

Comment 4 CFME Bot 2019-09-04 11:31:19 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/bd3001debe4184c16a9a73f2e691bc11e9c39c0e
commit bd3001debe4184c16a9a73f2e691bc11e9c39c0e
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Wed Aug 28 05:54:35 2019 -0400
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Wed Aug 28 05:54:35 2019 -0400

    Correctly catch & handle API errors when creating orchestration template

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

 app/javascript/components/orchestration-template/orcherstration-template-form.js | 12 +-
 1 file changed, 8 insertions(+), 4 deletions(-)