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

Bug 348032

Summary: [client] plugin which fails to load/install is not reporting the error
Product: [ECD] Orion Reporter: Susan McCourt <susan>
Component: ClientAssignee: Simon Kaegi <simon_kaegi>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Susan McCourt CLA 2011-06-01 19:40:04 EDT
- from the plug-in registry page, type in a bogus URL for a plugin, such as "foo/plugin.html"
- nothing happens.  No failure is reported.

The calling code supplies an errback function to the promise.

I traced the code through the pluginregistry and it seems to not be detecting the error case.
Comment 1 Susan McCourt CLA 2011-06-01 19:41:33 EDT
I think this is an important consumability bug, so marking RC1.

I often forget the leading backslash and type
"plugins/myPlugin.html"  
which silently fails, instead of
"/plugins/myPlugin.html"
which will work.

We need to get the error case so the user can figure out if they typed the wrong name.
Comment 2 Simon Kaegi CLA 2011-06-01 22:18:14 EDT
This was also causing my 404 pluginregistry test to fail. I checked in a fix for this earlier on today. 

You now get a nasty/hurtful red "Error: Load timeout for plugin: http://localhost:8080/plugin/hoho" message after 15s as well as in the console