Bug 20402

Summary: Error Description too long, should not list full class name
Product: [Eclipse Project] JDT Reporter: IH <flyguy>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.1 M1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

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.