Bug 996425

Summary: Unhandled FileAlreadyExistsException when creating New Form that already exists
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jan Hrcek <jhrcek>
Component: Form ModelerAssignee: Neus Miras <nmirasch>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Hrcek <jhrcek>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0.0CC: pzapataf
Target Milestone: ER3   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:11:41 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:
Attachments:
Description Flags
Steps to reproduce - video none

Description Jan Hrcek 2013-08-13 07:16:45 UTC
Created attachment 786019 [details]
Steps to reproduce - video

Description of problem:
When you try to create new form with name that already exists the exception 
org.kie.commons.java.nio.file.FileAlreadyExistsException is thrown, but not treated in UI - it displays 'Creating New Form' indefinitely.


Version-Release number of selected component (if applicable):
6.0.0.CR1

How reproducible:
Always

Steps to Reproduce:
Please see video attached.

Actual results:
'Creating New Form' progress indicator is displayed indefinitely.


Expected results:
For other items in the 'New Item' menu the mechanism is implemented, that causes '<item> lready exissts' popup window to appear. I would expect the same behaviour for 'New form'.

Comment 1 Neus Miras 2013-08-27 14:34:51 UTC
Added an error message "Sorry, an item of that name already exists in the repository. Please choose another." when the user is trying to add another form in the same project with the same name.

Comment 4 Jan Hrcek 2013-09-23 07:44:15 UTC
Ok, verified with BPMS 6.0.0 ER3