This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 166858 - Task list is not refreshed
Summary: Task list is not refreshed
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Action Items (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-10 14:38 UTC by Petr Jiricka
Modified: 2009-06-15 10:20 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2009-06-10 14:38:48 UTC
1. Create a new Java SE project
2. Wait for the scanning to finish, the TODO task will be shown in the tasklist
3. In the Main class that was created, delete the line with TODO comment and save
=> TODO item disappears from tasklist: correct
4. Switch to "currently edited file only" scope in the tasklist
=> TODO item reappears: bug

Here is my build info:

Product Version: NetBeans IDE 6.7 RC3 (Build 200906100001)
Java: 1.6.0_07; Java HotSpot(TM) 64-Bit Server VM 1.6.0_07-b06-57
System: Mac OS X version 10.5.7 running on x86_64; MacRoman; en_US (nb)
Comment 1 Jan Lahoda 2009-06-10 14:51:34 UTC
Why java.hints?
Comment 2 Petr Jiricka 2009-06-10 15:00:32 UTC
I guess because I ran into this using a Java Se project. Feel free to reassign to a more appropriate category.
Comment 3 Max Sauer 2009-06-10 15:18:37 UTC
Reproducible. Happens also for ie. PHP projects => not java specific.
Comment 4 Stanislav Aubrecht 2009-06-10 15:32:52 UTC
fixed in core-main 8c36c3b814d1

might be worth fixing in 6.7 release - when all todos are removed from a given file the tasklist will still be showing
those todos until a new todo is created in that file
Comment 5 Marian Mirilovic 2009-06-11 08:19:14 UTC
Ok, targeted for NB 6.7 - we'll test it today and let you know once we have results.
Comment 6 Stanislav Aubrecht 2009-06-11 08:43:37 UTC
i've just pushed a new fix to core-main 0fd3fa898a65

the previous fix is invalid
Comment 7 Quality Engineering 2009-06-11 08:46:40 UTC
Integrated into 'main-golden', will be available in build *200906110201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/8c36c3b814d1
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #166858 - Task list doesn't clear its cache when all tasks are removed from indexed file
Comment 8 Marian Mirilovic 2009-06-11 14:33:02 UTC
I've tried to reproduce the problem, but haven't been able to do so in latest build from core-main ... so Standa, please
go ahead and integrate the fix into release67 ... thanks in advance.
Comment 9 Stanislav Aubrecht 2009-06-11 14:47:32 UTC
fixed in release67 6fd9dfc5d5ce
Comment 10 Quality Engineering 2009-06-12 09:18:36 UTC
Integrated into 'main-golden', will be available in build *200906120201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/0fd3fa898a65
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #166858 - Task list doesn't clear its cache when all tasks are removed from indexed file - proper fix
Comment 11 Jindrich Sedek 2009-06-15 10:20:38 UTC
verified.
NetBeans IDE 6.7 RC3 (Build 200906142201)