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

Bug 355344

Summary: [Composite] Workbench Demo fail on startup with javascript error
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: tbuschto
Version: 1.5   
Target Milestone: 1.5 M2   
Hardware: All   
OS: All   
Whiteboard:

Description Ivan Furnadjiev CLA 2011-08-22 03:36:37 EDT
Start the Workbench Demo against CVS HEAD. The following error appears on startup:
Error: Error: Operation "listen" on target "w75" of type "org.eclipse.swt.widgets.Composite" failed:
TypeError: Property 'setHasActivateListener' of object [object org.eclipse.swt.widgets.Composite] is not a function
Comment 1 Tim Buschtoens CLA 2011-08-22 04:49:07 EDT
Fixed in CVS HEAD.

Result of creating/using AdapterUtil.js#extendControlListenerHandler. I forgot to move "activate" handler from ShellAdaper to AdapterUtil. The commit also includes some minor enhancements in the Processor.js error handling i crated to fix the bug