Bug 165673 - [Actions] Cannot synchronize working set containing filtered closed project
Summary: [Actions] Cannot synchronize working set containing filtered closed project
Status: CLOSED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 RC1   Edit
Assignee: Krzysztof Daniel CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2006-11-23 11:11 EST by Valentin Baciu CLA
Modified: 2007-07-09 16:09 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Valentin Baciu CLA 2006-11-23 11:11:38 EST
3.3 M 3

Steps to reproduce:

1. Use a workspace in which you have a few versioned Java projects  (I used plugin projects)
2. Switch to the Java perspective
3. From the package explorer's view menu select Top Level Elements->Working Sets
4. If there are no other working sets defined, the projects will show up in the Other Projects working set
5. Select a working set with at least two projects in it
6. Close one of the versioned projects, making sure you have at least one other open
7. Select the working set, right click and try Team->Synchronize

Observed behaviour:

Sometimes the Team->Synchronize menu is disabled altogether, some other times it is enabled but when running the action a pop-up dialog with the message "The chosen operation is not enabled" is displayed.

Expected behaviour:

Allow the synchronization of all the projects which are open, and simply ignore the closed ones. 

More info:

The current behaviour seems to be similar to what happens when projects are top level elements. In that case if you select opened and closed projects and try to synchronize, the Team->Synchronize menu is not even there. At least that's a better hint that you cannot synchronize.

Ever since I noticed them, I am using Java working sets as top level because I like the ability to open/close/synchronize a set of projects at once. Some times though I may have a few projects which are not only closed but also filtered from view. It's frustrating to have to select all the opened projects in my working set and synchronize at that level.
Comment 1 Martin Aeschlimann CLA 2006-11-24 07:15:04 EST
+ 1 to enable synchronize even if some projects are not shared. Maybe you can show a warning dialog after, to say which projects have been skipped.
Comment 2 Michael Valenta CLA 2006-11-24 09:35:03 EST
I'll try to have a look sometime during 3.3.
Comment 3 Markus Keller CLA 2006-12-12 05:46:40 EST
Sound similar to bug 139775.
Comment 4 Michael Valenta CLA 2007-05-04 12:18:50 EDT
This is probably a duplicate of bug 139775 but we'll keep them separate to ensure that both cases are covered.
Comment 5 Michael Valenta CLA 2007-05-14 15:21:25 EDT
Patch from bug 139775 has been released to HEAD which enables Synchronize on working sets that have unshared or closed projects.
Comment 6 Valentin Baciu CLA 2007-05-28 11:55:01 EDT
Verified with 3.3 RC1
Comment 7 Valentin Baciu CLA 2007-07-09 16:09:52 EDT
Closing since 3.3 is out and has the fix I requested.