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

Bug 336913

Summary: Clone Wizard: User is not removed if switching from SSH to git protocol
Product: [Technology] EGit Reporter: Edwin Kempin <edwin.kempin>
Component: UIAssignee: Jens Baumgart <jens.baumgart>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: matthias.sohn, robin, stefan.lay
Version: 0.11Keywords: bugday, helpwanted
Target Milestone: 3.5   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Edwin Kempin CLA 2011-02-11 04:58:32 EST
Steps to reproduce:
1. Start clone wizard
2. paste an SSH url into the 'URI' field, e.g. ssh://myuser@host:22/myProject -> 'User' field is set to 'myuser'
3. change 'Protocol' from 'ssh' to 'git' -> 'User' field is greyed out, since the git protocol doesn't need a user
4. the dialog shows the error message 'User not supported on git protocol.' since the user is still contained in the 'URI'

Expected:
It is expected that the user is removed from URI when switching to the git protocol. Ideally the user would be re-inserted into the URI when switching afterwards back to SSH protocol.
Comment 1 Matthias Sohn CLA 2014-08-02 18:58:01 EDT
merged as 7183e9296f19e8d9416ed60e80cce312895a66e9