Bug 1318191 - Non standard error messages in Artifact repository
Summary: Non standard error messages in Artifact repository
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: manstis
QA Contact: Tomas David
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-16 09:07 UTC by Tomas David
Modified: 2020-03-27 19:08 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:08:38 UTC
Type: Bug


Attachments (Terms of Use)
dialog (28.85 KB, image/png)
2016-03-16 09:07 UTC, Tomas David
no flags Details
jar reproducer (2.08 KB, application/zip)
2016-03-16 15:07 UTC, Tomas David
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.