Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355344 - [Composite] Workbench Demo fail on startup with javascript error
Summary: [Composite] Workbench Demo fail on startup with javascript error
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: All All
: P1 normal (vote)
Target Milestone: 1.5 M2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-22 03:36 EDT by Ivan Furnadjiev CLA
Modified: 2011-08-22 04:49 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 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