Bug 12269

Summary: Tasks View does not update correctly when renaming a file
Product: [Eclipse Project] Platform Reporter: Sebastian Mattar <sebastian.mattar>
Component: ResourcesAssignee: DJ Houghton <dj.houghton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: 2.0   
Target Milestone: 2.0 M5   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Sebastian Mattar CLA 2002-03-26 07:05:21 EST
Try this:
Create an empty project, add a new java-file named "Test":
---
import blabla;
public class Test {
}
---
The package blabla is unknown, so a task appears in the Tasks view. Now rename 
the file to "Test2.java".
Now 2 tasks should be visible. One of them still connected to the now non-
existing "Test.java" and one connected to "Test2.java".

Im a using build 20020321
Comment 1 Philipe Mulet CLA 2002-03-26 17:50:42 EST
Sounds like some markers were not refreshed ?
Comment 2 Sebastian Mattar CLA 2002-03-27 02:34:50 EST
Right. The markers are not updated when files are renamed. Same thing for todo-
markers and bookmarks.
Comment 3 Kent Johnson CLA 2002-03-27 14:15:20 EST
Rename & move should transfer the markers over to the new resource.
Comment 4 DJ Houghton CLA 2002-03-27 14:35:57 EST
Fixed and released to HEAD.
Available in builds > 2002-03-27.
Closing.