Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342639 - [Client] Javascript error in Workbench Demo
Summary: [Client] Javascript error in Workbench Demo
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P3 blocker (vote)
Target Milestone: 1.4 M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 342646 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-12 17:03 EDT by Rüdiger Herrmann CLA
Modified: 2011-04-13 03:01 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rüdiger Herrmann CLA 2011-04-12 17:03:47 EDT
When starting the workbench demo, a Javascript error occurs. To reproduce, just start the "RAP Workbench Demo" launch configuration and see the error page being dispayed instad of the initial workbench layout. The issues doesn't sem to be browser-specific as it happens in FF 4, IE 9, Chrome 10.

Error: TypeError: this._frameBorder.setColor is not a function
Script: var req = org.eclipse.swt.Request.getInstance();req.setRequestCounter( "2" );qx.theme.manager.Meta.getInstance().setTheme( org.eclipse.swt.theme.Default ); ...
  
Applies to RAP from CVS HEAD
The source of the problem seems to be related to the CTabFolder.
Comment 1 Benjamin Wolff CLA 2011-04-12 18:00:50 EDT
*** Bug 342646 has been marked as a duplicate of this bug. ***
Comment 2 Benjamin Wolff CLA 2011-04-12 18:03:51 EDT
See Bug 342646 ( See https://bugs.eclipse.org/bugs/show_bug.cgi?id=342646 ) for a stacktrace that seems to show the cause of the problem.
Comment 3 Ivan Furnadjiev CLA 2011-04-13 03:01:24 EDT
Fixed by replacing non existing this._frameBorder.setColor with this._frameBorder._setColor in CTabFolder.js. Changes are in CVS HEAD.