Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1187771

Summary: kie-config-cli: unhandled exception when creating existing repo.
Product: [Retired] JBoss BPMS Platform 6 Reporter: Marek Baluch <mbaluch>
Component: Business CentralAssignee: Marco Rietveld <mrietvel>
Status: CLOSED EOL QA Contact: Marek Baluch <mbaluch>
Severity: low Docs Contact:
Priority: medium    
Version: 6.1.0CC: kverlaen
Target Milestone: ER5   
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 20:09:49 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:

Description Marek Baluch 2015-01-30 20:15:37 UTC
Description of problem:
When I try to create a new repository (create-repo) which already exists then an unhandeled exception will be caught in a default block:

org.guvnor.structure.repositories.RepositoryAlreadyExistsException: bxms-assets
...

Please consider catching the exception and printing out a user friendly message.

Comment 1 Maciej Swiderski 2015-02-02 16:37:20 UTC
added additional validation to not attempt to create already existing repository and included as part of batch commit

kie-wb-distirbutions
master:
https://github.com/droolsjbpm/kie-wb-distributions/commit/258dad5936d5a36f8e80309148841ef67b873f9b

6.2.x:
https://github.com/droolsjbpm/kie-wb-distributions/commit/7cbe038e152dcbc0f2f0494368fe275a210e5bfb

Comment 2 Marek Baluch 2015-02-13 09:50:23 UTC
Verified on 6.1.0.ER5.