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

Bug 374263

Summary: [Table] Rows with markup can disappear on IE
Product: [RT] RAP Reporter: Tim Buschtoens <tbuschto>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tbuschto
Version: 1.5   
Target Milestone: 1.5 M6   
Hardware: All   
OS: All   
Whiteboard:

Description Tim Buschtoens CLA 2012-03-14 11:54:21 EDT
1. Start examples demo in IE (for me its ie9,32bit), to to markup table.
2. Resize the browser so that the table is scrollable (vertical).
3. Focus the table and scroll down and up again with scroll wheel.

=> Second row is empty.

I have no idea why, and if its is related to markup or not.
Comment 1 Tim Buschtoens CLA 2012-03-14 13:05:03 EDT
I figured it out: This happens if a row renders item1->null->item1.

The _clearContent function in TreeRow.js does not respect the config.markupEnabled field, so the content is rendered without beeing cached (we store the last rendered value when markup is enabled). This can cause the next rendering to do nothing if its the same item as before. A quickfix worked, now i only have to come up with a way to unit-test it.

I'm not sure yet if this can happen in other browser aswell. In theory it could.
Comment 2 Tim Buschtoens CLA 2012-03-15 09:46:31 EDT
Fixed in CVS HEAD, even empty cells a rendered as "markup".