Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370774 - Search not working on first attempt on some pages
Summary: Search not working on first attempt on some pages
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.4   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: 0.4 RC1   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-06 16:44 EST by John Arthorne CLA
Modified: 2012-02-07 10:49 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2012-02-06 16:44:08 EST
I20120206-1525.

The first time you hit 't' to Open Resource on some pages, it fails with:

Uncaught TypeError: Object #<Object> has no method 'then'

If you search again it works.
Comment 1 John Arthorne CLA 2012-02-07 10:49:16 EST
Fixed:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=d31e4e5ffd15a82c8f834a33808a5496336ef7b8

The problem was I was not referencing the favourite service via the registry in some cases, meaning it was no longer asynchronous.