Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348032 - [client] plugin which fails to load/install is not reporting the error
Summary: [client] plugin which fails to load/install is not reporting the error
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: Simon Kaegi CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-01 19:40 EDT by Susan McCourt CLA
Modified: 2011-09-01 11:41 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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