Created attachment 789108 [details] error popup Description of problem: If you don't select any file to upload, while creating a new XLS Decision Table, the action fails. You get only a useless message about an internal error (see screenshot). Version-Release number of selected component (if applicable): 6.0 ER1 How reproducible: Steps to Reproduce: 1. Open the business-central, Project Authoring, some group, repository, project and package. 2. Click New Item and choose Decision Table (Spreadsheet). 3. Type some name. Don't select any XLS file. 4. Click OK. Actual results: "Upload failed: <h1>JBWEB000065: HTTP Status 500 - </h1>...." Expected results: Asset is created without any file being uploaded - which is to be done later. OR The action still fails but with some meaningful message. Additional info: The error pop-up will be filed as a separate BZ.
Created attachment 789109 [details] server log excerpt
Jervis, you're familiar with the file upload code (the XLS Decision Table and XLS Score Card upload widget is effectively the same as that for adding JARs to Guvnor's M2 Repo). Can you please make sure a meaningful message is displayed (you might also want to check the GM2 JAR upload too).
http://github.com/droolsjbpm/guvnor/commit/b1e8f3352 http://github.com/droolsjbpm/kie-wb-common/commit/780ef7c95 http://github.com/droolsjbpm/drools-wb/commit/bc69123ab
Verified on BPMS 6.0.0.ER5.