Bug 12269 - Tasks View does not update correctly when renaming a file
Summary: Tasks View does not update correctly when renaming a file
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 normal (vote)
Target Milestone: 2.0 M5   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-26 07:05 EST by Sebastian Mattar CLA
Modified: 2002-03-27 20:47 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.