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

Bug 409222

Summary: #<Object> has no method 'getTheme' ThemeBuilder.js:938
Product: [ECD] Orion Reporter: Adrian Aichner <adrian.aichner>
Component: NodeAssignee: Project Inbox <orion.server-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: antonm, mamacdon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Adrian Aichner CLA 2013-05-27 18:03:02 EDT
commit cc6bb9e7b6654261e647d6faf0c41b23ba9ca635

shows following JS runtime error in console when clicking
Editor Theme
in
Settings
page

Uncaught TypeError: Object #<Object> has no method 'getTheme' ThemeBuilder.js:938
renderData ThemeBuilder.js:938
objects.mixin.showEditorThemeBuilder SettingsContainer.js:162
Comment 1 Mark Macdonald CLA 2013-05-28 14:42:18 EDT
Odd... The Node server currently doesn't have the same preferences support that the Java server does (i.e. server-side persistence of preferences is not implemented). The client side JS error is surprising though -- not sure how this ThemePreference functionality gets mixed in.
Comment 2 Adrian Aichner CLA 2013-05-28 15:52:26 EDT
What about window.localStorage?

I see
"/orion/preferences/local/themes":"{\"styles\":\"[{\\\"name\\\":\\\"Orion\\\",\\\"navbar\\\":\\\"#333\\\",\\\"button\\\":\\\"#EFEFEF\\\",...
in there.
Comment 3 Adrian Aichner CLA 2014-02-02 08:46:42 EST
I now see
UI Theme
under Settings and clicking it works fine.

Only get some CSS warnings.