Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359490

Summary: Finish key has no effect on new Connection dialog from Convert to Sync Project
Product: [Tools] PTP Reporter: Beth Tibbitts <beth>
Component: RDT.syncAssignee: Project Inbox <ptp-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: g.watson, jdeblen1
Version: 5.0.2   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Beth Tibbitts CLA 2011-09-29 17:34:55 EDT
Check out project from CVS
Convert to sync project (New > Other > remote > convert c/c++/fortran project to a sync project)

In the "Convert Projects" dialog (subtitle  "Convert to a synchronized project" ), 
If you select "New" to create a new connection from here,
the "Target Environment Configuration" dialog where you specify the details for the new connection 
will not exit with the Finish button, even though the fields seem to be filled in properly.

If you hit Cancel, the connection appears to have been made anyway.

Actually i now have three connections.  In the Remote Environments view, I see three copies of
my connection.  It was probably created each time Finish was pressed, but the dialog didn't close.


I am using the (first) PTP 5.0.3 build from today (9/29)
Comment 1 Greg Watson CLA 2011-09-30 05:02:10 EDT
Unable to reproduce in ppedev-1.1-20110928 updated to 5.0.3.201109291813
Comment 2 John Eblen CLA 2011-09-30 09:58:23 EDT
This behavior (not exiting after hitting finish) can happen if an exception is thrown while a dialog is finishing (usually in a "performFinish" function). So my guess is that the dialog throws an exception after creating the connection. Do you have a stack trace?
Comment 3 Beth Tibbitts CLA 2011-09-30 11:12:11 EDT
OK here's what I did (after re-opening same eclipse installation i used last night)

1. check out project from cvs.  check out as, C/C++, C project
2. Makefile project, empty project, -- Other Toolchain --
3. New, Other, Remote, Convert ...to sync project
4. New connection; create connection
    Finish.    HMMMM  that time, Finish worked. 

Well let you know if i can make it happen again.