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'.
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.
commits: https://github.com/droolsjbpm/jbpm-form-modeler/commit/2034e8917b03e05ffc4e6b131afa130acc084ff2 https://github.com/droolsjbpm/jbpm-form-modeler/commit/2f31945eaf5e28f4f2cc9cc02a0aa35bf4dd29b9
Commits: Master https://github.com/droolsjbpm/jbpm-form-modeler/commit/2034e8917b03e05ffc4e6b131afa130acc084ff2 https://github.com/droolsjbpm/jbpm-form-modeler/commit/2f31945eaf5e28f4f2cc9cc02a0aa35bf4dd29b9 6.0.x https://github.com/droolsjbpm/jbpm-form-modeler/commit/60d77739d1aa9087787656fb805bfba874d05dd1 https://github.com/droolsjbpm/jbpm-form-modeler/commit/4a5147c551320c9179d26ae20c058d06f1a35840
Ok, verified with BPMS 6.0.0 ER3