Red Hat Bugzilla – Bug 999874
XLS Decision Table creation fails with useless message if no file is selected
Last modified: 2016-07-31 21:07:55 EDT
Created attachment 789108 [details]
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):
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.
"Upload failed: <h1>JBWEB000065: HTTP Status 500 - </h1>...."
Asset is created without any file being uploaded - which is to be done later.
The action still fails but with some meaningful message.
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).
Verified on BPMS 6.0.0.ER5.