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 172684 - [STG] Saved query doesn't appear in kenai dashboard
Summary: [STG] Saved query doesn't appear in kenai dashboard
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Team Framework (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Stupka
URL:
Keywords:
: 180068 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-21 13:57 UTC by Jaromir Uhrik
Modified: 2010-02-24 07:00 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot attached... (95.43 KB, image/png)
2009-09-21 13:58 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2009-09-21 13:57:28 UTC
Product Version: NetBeans IDE Dev (Build 200909201401)
Java: 1.5.0_20; Java HotSpot(TM) Client VM 1.5.0_20-141
System: Mac OS X version 10.5.8 running on i386; MacRoman; en_US (nb)

-connect to stg.network.org in IDE as "juhrik" (BTW, I cannot reproduce this issue with kenai.com)
-open a project
-expand the Issues node in kenai dashboard
-push "Find issue..." node
-push Search button
-push "Save this Query" and submit the query name
-->> The query appears in the Find Issues top-right corner where all queries are available but the saved query doesn't
appear in kenai dashboard (user needs at least to refresh the project to see them in the dashboard).
Comment 1 Jaromir Uhrik 2009-09-21 13:58:54 UTC
Created attachment 88016 [details]
Screenshot attached...
Comment 2 Tomas Stupka 2009-11-24 07:56:49 UTC
the o.n.m.kenai.ui.spi.QueryAccessor implementation in bugtracking fires the ProjectHandle.PROP_QUERY_LIST event with 
an actuall list of existing queries in newValue, but it doesn't seem to be itercepted in dashboards QueruListNode.

please evaluate
Comment 3 Jan Becicka 2010-01-06 07:12:49 UTC
Tomasi. The problem is, that PROP_QUERYLIST is fired on some old (cached?) instance of ProjectHandle, which is not visible in Dashboard. How do you get this ProjectHandle?
Comment 4 Tomas Stupka 2010-01-06 07:20:17 UTC
would say it's cached and it came in via some call from kenai. There is no way to create kenai projecthandles in bugtracking
Comment 5 Jan Becicka 2010-01-06 07:58:41 UTC
hm, I'm not sure what is wrong.
But you can put breakpoints on 
1. QueryAccessorImpl: 137 (getFindIssuesAction) 
2. QueryAccessorImpl: 186 (fireQueriesChanged) 

these 2 calls works with 2 different instances of ProjectHandle. getFindIssuesAction is called with correct ProjectHandle, but fireQueriesChanged method uses ProjectHandle, which comes from KenaiHandler...

anyway we can discuss it tomorrow (I hope ;)
Comment 6 Tomas Stupka 2010-02-01 06:09:52 UTC
*** Bug 180068 has been marked as a duplicate of this bug. ***
Comment 7 Jan Becicka 2010-02-24 07:00:54 UTC
already fixed. Tested against netbeans.org