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

Bug 342639

Summary: [Client] Javascript error in Workbench Demo
Product: [RT] RAP Reporter: RĂ¼diger Herrmann <ruediger.herrmann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: blocker    
Priority: P3 CC: eclipse, ruediger.herrmann
Version: 1.4   
Target Milestone: 1.4 M7   
Hardware: All   
OS: All   
Whiteboard:

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.