sarins / hudson-eclipse

Automatically exported from code.google.com/p/hudson-eclipse
0 stars 0 forks source link

Views setting is not applied when reopening the HudsonView #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. select an item from the "Views" menu --> only the projects belonging to
the selected view are displayed 
2. close the HudsonView or restart Eclipse

What is the expected output? 
The HudsonView is supposed to display the projects belonging to the
selected view. Or in other words, I expect the view to display exactly the
same items it displayed before closing/restarting.

What do you see instead?
- The previously selected item in the "Views" menu is correctly checked
- However, the HudsonView displays all projects and not only the ones
belonging to the selected view

What version of the product are you using? On what operating system?
- Hudson Plugin: 1.0.4 (resp. SVN TRUNK)
- Eclipse: 3.4.1
- OS: WindowsXP
- JRE: 1.6.0_07

Please provide any additional information below:
The issue is that during the creation of the items in the "Views" menu
(constructor of SelectViewAction) only the checked status is set, but the
action is not run on the selected item to make it effective.

The attached patch for SelectViewAction is a proposed fix for the issue.

Original issue reported on code.google.com by flytol...@gmail.com on 1 Nov 2008 at 12:11

Attachments:

GoogleCodeExporter commented 8 years ago
Patch applid, thanks

Original comment by jre...@gmail.com on 7 Apr 2009 at 4:26