Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332315 - presetUri ignored by RepositorySelectionPage
Summary: presetUri ignored by RepositorySelectionPage
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 0.10.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 332316
  Show dependency tree
 
Reported: 2010-12-10 10:12 EST by Simon Kaufmann CLA
Modified: 2010-12-11 20:13 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Kaufmann CLA 2010-12-10 10:12:07 EST
When instantiating the SelectUriWizard with a given repository Uri, it is not reflected in the dialog (RepositorySelectionPage) unlike if it were in the clipboard. 

This is because RepositorySelectionPage(boolean, List<RemoteConfig>, String) ignores the presetUri parameter if it's set.

Suggestion:

RepositorySelectionPage:315 
- String preset = null;
+ String preset = presetUri;
Comment 1 Matthias Sohn CLA 2010-12-11 20:13:41 EST
merged as 46577ed73b032af68678c111ab6531d9a0e5db64