Community
Participate
Working Groups
I updated yesterday my framework up to the version 1.3M4 from dec 18. I got than following error: "Could not evaluate javascript response: TypeError: widget is undefined var req= org .eclipse.swt. request ............." I found out, that when I set the UI test attributte "Dorg.eclipse.rwt.enableUITests=true" then the error is fire, when the attribute is false, it work perfect. I test it with RAP 1.3M3, that works without errors, as well UI Test is true or false. Only by 1.3M4 come to this error.
I can reproduce it with the Workbench Demo and -Dorg.eclipse.rwt.enableUITests=true. A short debug shows that the problematic script is: wm.setHtmlId( wm.findWidgetById( "w146" ), "w146" ); where the widget with Id w146 is a DropTarget.
Created attachment 155734 [details] fix This should make setHtmlId bullet-proof.
Applied patch to CVS HEAD