Bug 768246 - RFE: Maven client should display readable error messages
Summary: RFE: Maven client should display readable error messages
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Zanata
Classification: Retired
Component: Component-Logic, Component-Maven, Usability
Version: 1.5-SNAPSHOT
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Michelle Kim
QA Contact: Zanata-QA Mailling List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-16 06:29 UTC by Sean Flanigan
Modified: 2015-07-29 03:35 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-07-29 03:35:13 UTC
Embargoed:


Attachments (Terms of Use)

Description Sean Flanigan 2011-12-16 06:29:53 UTC
Seam/RESTEasy seems to generate some error responses in the form of HTML error pages.  These are virtually unreadable when printed to the console as a single line.  

1. We should look at overriding this behaviour on the server, so that our REST services return plain text, XML or JSON when handling exceptions.

2. In addition, the Maven client could look at the response type for its REST requests.  If they come back with an HTML content type, we should strip out the HTML tags and try to produce more readable error messages in Maven's log output.

Comment 1 Runa Bhattacharjee 2012-11-26 18:13:54 UTC
This sounds helpful. Have we seen any recent/critical user requests coming in for this feature?

Thanks

Comment 2 Sean Flanigan 2012-11-27 00:11:36 UTC
No users have specifically requested it, but I've seen a number of bug reports with these HTML error messages in them.  And sometimes there isn't even a bug: once you decipher the error message it becomes apparent.

Comment 4 Damian Jansen 2015-07-14 00:20:13 UTC
Reassigned to PM

Comment 5 Zanata Migrator 2015-07-29 03:35:13 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-334


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