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 151405 - inconsistant updating for SE statistics and state
Summary: inconsistant updating for SE statistics and state
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: JBI Manager (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jun Qian
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-27 01:47 UTC by schmandt
Modified: 2008-10-27 19:38 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description schmandt 2008-10-27 01:47:30 UTC
i tested 61 1023 build, built Synch Sample CA and deploy to GF,
run test case.

i open endpoint statistics and close then i open "properties"
and close then run the test case.

now when i open endpoint statistics table under "endpoint statistics" tab
the count has been automatically updated after every event, but the statistics
shown under "properties" will always remain the same unless i click "refresh"
and then reopen the properties tab, just reopening the properties tab shows me
stale statistics.  

I see 3 problems.  (note let me know and I can open separate tickets if they require separate fixes.  it was not
very clear to me until i started writing this that i do have 3 distinct issues with the way this works).

1) The autoupdate for statistics should be consistant, ie autoupdate all or none, otherwise i think this is confusing.

2) in the properties window the placement of refresh is confusing - ie i have to exit and go back up to higher
level contest of the main menu and update there.  
But if the refresh is required to refresh the statistics shown under
the properties tab, then it's counter-intuitive that i have to close and go back up to the main
tab to refresh.   From the autoupdate of the endpoint statistics it appears that you should
be able to autoupdate the statistics in the property window also, if not then there should
probably be a refresh button in that window  -- this would remind the user that they might
need to refresh and that the statistics shown are stale. 

3)  Note that in general i would never expect to
need to update to get the latest information in any status window at the time when i open that
window.  When i window remains open then it's acceptable not to autoupdate, however it seems
really strange that i would have to manually refresh to see the latest state at the time that
i open any window. 

Hence i also think that every time i right click on a service engine i should be shown the current
state, and when i open the properties window i should get the latest current statistics without having to 
to refresh any window EXCEPT when i already have the window OPEN when the state changes. 

 Take eg windows directory file display -- if i am displaying the file list
and i create a new file it does not auto-refresh, i have to refresh to see the new file.
But if i move up and then back down, the latest file list will correctly display, i expect
and i do see the newly created file.  My assumption in any gui is that when i open a window
i will see the current state at that point in time.  It's extremely counter-intuitive to me
that i have to open a window and manually refresh to be sure that what is displayed is fresh info.
Comment 1 Jun Qian 2008-10-27 19:38:56 UTC
Points well taken.

The auto update feature depends on some runtime support. I have filed
https://open-esb.dev.java.net/issues/show_bug.cgi?id=883.

The pop-up properties window (invoked from the "Properties" context sensitive menu) has the exact same content as the
properties tab inside the main IDE (from menu Windows->Properties) and because of the lack of the runtime support, it
doesn't update until the user refreshes explicitly.

The endpoint statistics window behaves a little bit differently because every time you invoke the action, the runtime is
queried and the latest statistical data is retrieved.