Bug 1318191

Summary: Non standard error messages in Artifact repository
Product: [Retired] JBoss BRMS Platform 6 Reporter: Tomas David <tdavid>
Component: Business CentralAssignee: manstis
Status: CLOSED EOL QA Contact: Tomas David <tdavid>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.3.0CC: kverlaen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:08:38 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:
Attachments:
Description Flags
dialog
none
jar reproducer none

Description Tomas David 2016-03-16 09:07:58 UTC
Created attachment 1136936 [details]
dialog

Description of problem:
When you do some non standard uploading action in Artifact repository perspective (for example uploading without choosing a file, uploading an unsupported file), exception is printed instead of standard error is displayed. 

Version-Release number of selected component (if applicable):
BRMS 6.3.0.DR2

How reproducible:
-

Steps to Reproduce:
1. Open Artifact repository perspective (Authoring -> Artifact repository)
2. Click on the Upload button.
3. Click on the Upload button without choosing a file in Artifact upload modal dialog

Actual results:
Error dialog with printed exception is displayed.

Expected results:
Error dialog without printed exception is displayed or some inline error is displayed.

Additional info:

Comment 1 manstis 2016-03-16 13:09:09 UTC
Tested with latest 6.4.x (Community) SNAPSHOT (@ 16-March-2016). If no file is selected I get a "Please select a file to upload" popup error message. If an invalid file (other than *.jar, *.kjar or pom.xml) is selected I get a "File must be either *.jar, *.kjar or pom.xml" error popup. I have to therefore conclude this issue has been fixed somewhere since DR2.

Comment 2 Tomas David 2016-03-16 15:03:57 UTC
Yes, I can see the popup messages too. Sorry I didn't check the snapshot.

I have looked on another possible cases and I have found new problem: when you upload jar with no pom, business central ask you for specify GAV manually. If you insert some incorrect values (for example whitespaces), an exception is displayed.

I am not aware of another problems, so this should be probably the last one.

Comment 3 Tomas David 2016-03-16 15:07:22 UTC
Created attachment 1137089 [details]
jar reproducer