Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344726 - Error reloading editor after clearing local storage
Summary: Error reloading editor after clearing local storage
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.3 RC3   Edit
Assignee: Simon Kaegi CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-04 12:24 EDT by John Arthorne CLA
Modified: 2011-10-20 14:10 EDT (History)
1 user (show)

See Also:


Attachments

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