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 230391 - desynchronized query result in dashboard end query dialog
Summary: desynchronized query result in dashboard end query dialog
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Issuetracking Framework (show other bugs)
Version: 7.3
Hardware: Macintosh Mac OS X
: P2 normal (vote)
Assignee: Jan Peska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-28 14:49 UTC by Tomas Stupka
Modified: 2013-06-03 07:34 UTC (History)
0 users

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 Tomas Stupka 2013-05-28 14:49:18 UTC
Product Version = NetBeans IDE Dev (Build 20130528-9bdafa3dff2a)
Operating System = Mac OS X version 10.8.3 running on x86_64
Java; VM; Vendor = 1.7.0_17
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01

- create a query, refresh - the correct query result is shown in dashboard and qeury dialog
- remove the query and create a new one with different parameters (result)
- after refresh - the total issue count shown in dashboard is different to the total issue count in the query dialog
Comment 1 Tomas Stupka 2013-05-28 15:49:07 UTC
see RepositoryNode.updateNodes(...)
queryNodesMap holds the query node even after it was removed. Once a new query with the same name was created, the old node (pointing to the old query instance) is reused