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

Bug 344726

Summary: Error reloading editor after clearing local storage
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ClientAssignee: Simon Kaegi <simon_kaegi>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: simon_kaegi
Version: unspecified   
Target Milestone: 0.3 RC3   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2011-05-04 12:24:38 EDT
0.2 M7

- Open an editor on orionhub, such as:

http://orionhub.org/coding.html#http://orionhub.org/file/org.eclipse.orion.client.core/static/ide.css

- Open your browser console and run localStorage.clear()

- Hit Ctrl+F5 to reload the page.

-> Errors occur. The errors are different on each browser so I will post follow-up comments.
Comment 1 John Arthorne CLA 2011-05-04 12:26:29 EDT
On FireFox 4 I see:

d is undefined
2)))},addEventListener:function(d,h,j)...d===y||d===y.getName()){o.resolve(C);
coding-editor.js (line 187)


On Chrome 11 I see:

coding-editor.js:187Uncaught TypeError: Cannot call method 'getServiceId' of undefined
Comment 2 Simon Kaegi CLA 2011-05-04 12:37:32 EDT
At the moment we're only doing the wait for preferences/plugins on the navigate-table and view-registry pages. We need to figure out what we want to do here for June.
Comment 3 Simon Kaegi CLA 2011-10-20 14:10:01 EDT
This was fixed when he moved to using bootstrap.js everywhere.