Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338399 - MPC blocks UI for unreachable marketplaces
Summary: MPC blocks UI for unreachable marketplaces
Status: RESOLVED FIXED
Alias: None
Product: MPC
Classification: Technology
Component: wizard (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.1   Edit
Assignee: Benjamin Muskalla CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-28 06:40 EST by Benjamin Muskalla CLA
Modified: 2011-03-16 15:41 EDT (History)
1 user (show)

See Also:


Attachments
suggested fix (1.53 KB, patch)
2011-02-28 06:41 EST, Benjamin Muskalla CLA
greensopinion: iplog+
Details | Diff
mylyn/context/zip (1.24 KB, application/octet-stream)
2011-02-28 06:41 EST, Benjamin Muskalla CLA
no flags Details
patch with changes (1.40 KB, patch)
2011-03-01 16:02 EST, David Green CLA
no flags Details | Diff
mylyn/context/zip (14.25 KB, application/octet-stream)
2011-03-01 16:02 EST, David Green CLA
no flags Details
mylyn/context/zip (2.52 KB, application/octet-stream)
2011-03-08 12:13 EST, David Green CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Muskalla CLA 2011-02-28 06:40:14 EST
Currently the UI will be blocked when opening the wizard in case there is an unreachable marketplace. This happens because CatalogDescriptor uses equals of URL. We should consider switching this to equals of URI instead of trying to resolve the hostname (and getting problems with virtual hosts, eg: marketplace1.eclipse.org and marketplace2.eclipse.org would end up being the same).
Comment 1 Benjamin Muskalla CLA 2011-02-28 06:41:43 EST
Created attachment 189931 [details]
suggested fix

Here is the suggested fix
Comment 2 Benjamin Muskalla CLA 2011-02-28 06:41:46 EST
Created attachment 189932 [details]
mylyn/context/zip
Comment 3 David Green CLA 2011-03-01 16:02:20 EST
Created attachment 190091 [details]
patch with changes

I've made some minor changes to your patch that fix a problem where other.url == null.  What do you think?
Comment 4 David Green CLA 2011-03-01 16:02:23 EST
Created attachment 190092 [details]
mylyn/context/zip
Comment 5 Benjamin Muskalla CLA 2011-03-08 05:10:14 EST
Yes, looks good to me.
Comment 6 David Green CLA 2011-03-08 12:13:55 EST
Fixed, thanks Benjamin.
Comment 7 David Green CLA 2011-03-08 12:13:56 EST
Created attachment 190672 [details]
mylyn/context/zip