Bug 125823

Summary: Buildpath marker not of marker type 'buildpath_problem'
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Olivier_Thomann
Version: 3.2   
Target Milestone: 3.2 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed fix
none
Better patch
none
Regression tests updated none

Description Martin Aeschlimann CLA 2006-01-31 08:56:24 EST
20060131

1. in a classpath file, manually enter a mistake, e.g.
	<classpathentry kind="con" path="XXXXorg.eclipse.jdt.launching.JRE_CONTAINER"/>

2. Open the problems view, group by Java Problem Type
3. One marker is in the 'Other Problems' group:
 'The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build....'

This marker is of type 'org.eclipse.jdt.core.problem' and has no attribute
'categoryId'.

Maybe this marker better be of type 'buildpath_problem' or have the attribute 'categoryId=10'.
Comment 1 Olivier Thomann CLA 2006-04-06 12:32:30 EDT
Created attachment 37905 [details]
Proposed fix

Kent, could you please review it?
Comment 2 Olivier Thomann CLA 2006-04-06 13:00:36 EDT
Created attachment 37913 [details]
Better patch
Comment 3 Olivier Thomann CLA 2006-04-06 13:00:55 EDT
Created attachment 37914 [details]
Regression tests updated
Comment 4 Olivier Thomann CLA 2006-04-06 15:21:25 EDT
I will release the changes.
Comment 5 Olivier Thomann CLA 2006-04-06 15:21:56 EDT
Fixed and released in HEAD.
Updated existing tests in the builder tests.
Comment 6 Philipe Mulet CLA 2006-04-09 07:24:00 EDT
+1 for 3.2RC1
Comment 7 David Audel CLA 2006-04-13 10:22:00 EDT
Verified for 3.2 RC1 using build I20060413-0010