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 216920 - Inconsistency of kenai dashboard information across multiple instances
Summary: Inconsistency of kenai dashboard information across multiple instances
Status: NEW
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Kenai (show other bugs)
Version: 7.3
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-15 13:40 UTC by Tomas Danek
Modified: 2012-10-30 15:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (40.18 KB, image/png)
2012-08-15 13:41 UTC, Tomas Danek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2012-08-15 13:40:35 UTC
Product Version: NetBeans IDE Dev (Build ODS-132-on-20120815)
Java: 1.7.0_05; Java HotSpot(TM) 64-Bit Server VM 23.1-b03
System: Mac OS X version 10.8 running on x86_64; UTF-8; en_US (nb)
User directory: /tmp/anotherUD
Cache directory: /tmp/anotherUD/var/cache
--------------------------------------
I've faced inconsistency between 2 IDE instances with different users of the same project, later even with the same project;
Refreshing project did not help
see screenshot.

1) label with online user count does not match user nodes status (P4)
2) total issues # < my issues # (P3-P2) This state should not happend.

Leaving up to you to set correct priority.
Comment 1 Tomas Danek 2012-08-15 13:41:16 UTC
Created attachment 123151 [details]
screenshot
Comment 2 Tomas Danek 2012-08-15 14:08:55 UTC
Another case of inconsistency ; Filed an issue (number 2) as a user2 working on project.
User2 sees issue 2 in my issues, this is correct. But does not see issue 2 in all issues, which is wrong.
Comment 3 Tomas Danek 2012-08-21 09:10:08 UTC
as we just noticed with Ondra, problem is with refresh of query on dashboard level. Forcing refresh on project level does not work, refresh in opened query does.

Also adding query should display new node with query without need of project refresh.
Comment 4 Ondrej Vrabec 2012-08-21 10:10:56 UTC
to sum up:
1) Refresh from popup menu on a project does not refresh any query
2) The global refresh button in the toolbar refreshes only empty queries:
> // XXX HACK - totaly new queries should be refreshed.
> //            unfortunatelly, an already refreshed query with
> //            will be unnecessarilly refreshed one more time
> //            as needed.
> if(issues != null && !issues.isEmpty()) {
>     qh = createQueryHandle(q, false);
> } else {
>     qh = createQueryHandle(q, true); // true -> needs refresh
> }
in KenaiHandler.getQueryHandles()
3) a new query is not automatically added to the dashboard

Only 3) is probably a regression (probably caused by older changes in bugtracking API)
However 1) and 2) should be somehow dealt with.
Comment 5 Quality Engineering 2012-08-22 02:23:08 UTC
Integrated into 'main-golden', will be available in build *201208220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/9ae8e5d226dc
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #216920 - Inconsistency of kenai dashboard information across multiple instances
fixing comment 4/3 - notify all project handles interested in the event