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

Bug 276479

Summary: [CCombo] in Table Cell Editor - JavaScript errors "text is not defined" in Firebug console
Product: [RT] RAP Reporter: Asen Draganov <asen>
Component: DemoAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.2   
Target Milestone: 1.2 RC1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Proposed patch none

Description Asen Draganov CLA 2009-05-15 07:38:04 EDT
Build ID: M20090211-1700

Steps To Reproduce:
1. Enable Firebug add-on in Firefox and activate its Console panel
2. Start RAP Controls Demo and go to tab TableViewer
3. Click on the button "Create Cell Editor"
4. Make several quick double clicks with mouse on the cells in column "Last Name", and table rows, where in the last cell "Editable" is set to "yes"
5. Sometimes JavaScript errors from type "text is not defined" appear in the Firebug's console

More information:
Errors are connected with text selection handling.

First type of error says:

text is not defined
[Break on this error] text.debug( "___ qx bug 521 still exists" );
------
Second type of error says:

text is not defined
getOriginalTargetObject()(div.anonymous-div)rap?cust...372514231 (line 7746)
getTargetObject()(div.anonymous-div, undefined, undefined)rap?cust...372514231 (line 7760)
getRelatedTargetObjectFromEvent()(mouseover clientX=233, clientY=299)rap?cust...372514231 (line 7772)
_onmouseevent_post()(mouseover clientX=233, clientY=299, "mouseover", div)rap?cust...372514231 (line 7962)
default()(mouseover clientX=233, clientY=299)rap?cust...372514231 (line 7914)
wrap()()rap?cust...372514231 (line 2986)
[Break on this error] }while(vNode!=null&&vNode.qx_Widget==null){try{vNode=vNode.parentNode;
Comment 1 Asen Draganov CLA 2009-05-15 09:07:55 EDT
Created attachment 135976 [details]
Proposed patch
Comment 2 Ralf Sternberg CLA 2009-05-19 06:25:46 EDT
Applied patch to CVS.