Bug 20402 - Error Description too long, should not list full class name
Summary: Error Description too long, should not list full class name
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 M1   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-14 17:58 EDT by IH CLA
Modified: 2002-09-19 05:03 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description IH CLA 2002-06-14 17:58:48 EDT
My error message is:

The method
associateTemplate(com.mycom.platform.coreservice.authentication.common.MySession,
long, com.mycom.platform.tools.templatemgmt.common.TemplateLO, boolean) in the
type com.mycom.platform.tools.templatemgmt.ejb.TemplateMgmtServiceRemote is not
applicable for the arguments
(com.mycom.platform.coreservice.authentication.common.MySession, long, long,
boolean)

This is quite difficult to see in the task list.  I would suggest that it should
look like:

The method associateTemplate(MySession, long, TemplateLO, boolean) in the type
TemplateMgmtServiceRemote is not applicable for the arguments (MySession, long,
long, boolean)
Comment 1 Philipe Mulet CLA 2002-06-14 18:01:00 EDT
We might want to shrink our messages post 2.0, since now the problem markers 
are recording the arguments separately.
Comment 2 Philipe Mulet CLA 2002-07-25 06:45:49 EDT
Done using a simple heuristic, please let us know if it works for you.
// dequalify problem arguments, using following heuristic:
// - if no segment is uppercased, then keep it all
// - if one segment is uppercased, then only preserve the trailing portion, 
starting from this segment
// e.g. 	java.lang.Object --> Object
// 		int --> int
//			java.lang --> java.lang
//			p.X.Y --> X.Y

This isn't an absolute answer, but without changing the API for creating 
problems or IProblem (adding a setter method), there is no easy way to achieve 
anything better.
Comment 3 Philipe Mulet CLA 2002-07-25 06:46:02 EDT
Fixed
Comment 4 David Audel CLA 2002-09-19 05:03:47 EDT
Verified.