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

Bug 400501

Summary: TreeItem displays HTML entities after drag start in IE
Product: [RT] RAP Reporter: Markus Krüger <webmaster>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: tbuschto
Version: 1.5   
Target Milestone: 2.1 M1   
Hardware: All   
OS: All   
Whiteboard:

Description Markus Krüger CLA 2013-02-11 16:49:47 EST
TreeItem displays HTML entities after drag start. (IE 7 + 9)
If for example a tree item is named "< Test & Test >" and you start dragging this item, the text changes to "&lt; Test &amp; Test &gt;". It is possible that this also applies to other characters.

You can reproduce this in the demo http://rap.eclipsesource.com/rapdemo/examples#treeviewer. Just change an item to the above example an just start draging.
Comment 1 Tim Buschtoens CLA 2013-03-14 12:37:18 EDT
Fixed with commit fe7469eefd72c111e5304c7ef721e47ce8674e03.

The entities were escaped implicitly and permanently to render the drag feedback widget, an then again by IE's innerText property. (Other browser use innerHTML).