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 226508 - Action Items list isn't updated when we browse the projects in the Projects tab
Summary: Action Items list isn't updated when we browse the projects in the Projects tab
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Action Items (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jan Peska
URL:
Keywords: REGRESSION
: 226551 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-02-22 09:03 UTC by RGu
Modified: 2013-03-26 13:26 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screencast for bug description (317.43 KB, video/mp4)
2013-02-22 09:03 UTC, RGu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description RGu 2013-02-22 09:03:35 UTC
Created attachment 131716 [details]
Screencast for bug description

See the attached screencast for description
 
Product Version         = NetBeans IDE 7.3 RC2 (Build 201302050851) (#f4954fe2fba9)
Operating System        = Windows 7 version 6.1 running on x86
Java; VM; Vendor        = 1.6.0_39; Java HotSpot(TM) Client VM 20.14-b01; Sun Microsystems Inc.
Runtime                 = Java(TM) SE Runtime Environment 1.6.0_39-b04
Java Home               = C:\Program Files\Java\jdk1.6.0_39\jre
System Locale; Encoding = fr_FR (nb); Cp1252
Comment 1 Jan Peska 2013-02-25 09:01:36 UTC
It seems there was a problem with loading indexed tasks in 7.3 release. It works in recent dev build so I guess it was fixed on the Indexing side -> reassigning to Editor/Parsing and Indexing to confirm it. Fix should be probably marked as patch candidate.
Comment 2 Jan Peska 2013-02-25 09:49:16 UTC
*** Bug 226551 has been marked as a duplicate of this bug. ***
Comment 3 Tomas Zezula 2013-02-26 17:03:35 UTC
No changes in QuerySupport in recent days.
Comment 4 Tomas Zezula 2013-02-26 18:51:36 UTC
The problem is in the tasklist.ui (TaskIndexer) which modifies documents after adding them into index which is wrong.
Fixed jet-main b8a1ee325324

There is also other potential issue with the following code:
doc.addPair(KEY_SCANNER, ScannerDescriptor.getType(scanner), true, true);  TaskIndexer:161
which is executed only for the first scanner providing items for given file,
should be probably done for all scanners providing some items. But I am not sure how this field
is used (if at all), so I am keeping it as it is.
Comment 5 Jan Peska 2013-02-27 08:18:30 UTC
Thanks Tomas. It is strange that it doesn't work in 7.3 but it works in 7.3 with no changes performed. Anyway I'll take a look if it fixes the issue in 7.3.
Comment 6 Tomas Zezula 2013-02-27 09:06:28 UTC
>doesn't work in 7.3 but it works in 7.3 with no changes performed
Exactly describes the state :-)
Modifying doc after inserting it into index is simply wrong. It's similar to modifying a key after putting it into HashMap and behaves randomly depending on field attributes, flush state and mm.
Comment 7 Jan Peska 2013-02-27 10:13:58 UTC
Yeah, a typo ;-) Anyway, it fixes the issue, thanks for the fix Tomas.
Comment 8 Quality Engineering 2013-02-27 16:13:16 UTC
Integrated into 'main-golden', will be available in build *201302270948* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b8a1ee325324
User: Tomas Zezula <tzezula@netbeans.org>
Log: #226508:Action Items list isn't updated when we browse the projects in the Projects tab
Comment 9 Marian Mirilovic 2013-03-07 07:48:20 UTC
verified in 
Product Version: NetBeans IDE Dev (Build 201303042300)
Java: 1.7.0_17; Java HotSpot(TM) 64-Bit Server VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02
System: Linux version 3.5.0-25-generic running on amd64; UTF-8; en_US (nb)
Comment 10 Marian Mirilovic 2013-03-20 13:18:18 UTC
Honza, 
I tried to find out the change-set in release73 but haven't been successful yet. Also Tomas Danek verified that it doesn't work in a Patch 1 build. So I moved that into patch 2.
Comment 11 Jan Peska 2013-03-20 13:40:24 UTC
here it is: http://hg.netbeans.org/releases/rev/96b5fd6d1a9b sorry about that. Changing back to the Patch 1 as I've agreed with Marian.
Comment 12 Tomas Danek 2013-03-20 15:40:41 UTC
Honzo, don't forget to increase also version (in case it hasn't been already increased) to make it to 73patch1. See http://wiki.netbeans.org/NetBeansPatchesProcess
Comment 13 Jan Peska 2013-03-21 08:09:49 UTC
(In reply to comment #12)
> Honzo, don't forget to increase also version (in case it hasn't been already
> increased) to make it to 73patch1. See
> http://wiki.netbeans.org/NetBeansPatchesProcess

Done, thanks for pointing that out.
Comment 14 Quality Engineering 2013-03-22 20:39:41 UTC
Integrated into 'releases', will be available in build *201303221808* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/96b5fd6d1a9b
User: Tomas Zezula <tzezula@netbeans.org>
Log: #226508:Action Items list isn't updated when we browse the projects in the Projects tab