| Summary: | [Table] Data does not show up intermittently | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Avrajit Chatterjee <avrajit.chatterjee> | ||||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | major | ||||||||
| Priority: | P2 | CC: | amandeep.chahal, ronald.so, tbuschto | ||||||
| Version: | 1.5 | ||||||||
| Target Milestone: | 1.5 M7 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Avrajit Chatterjee
Avrajit, without a snippet to reproduce the issue we couldn't do much. (In reply to comment #0) > We have faced this issue both in FF 3.6 and IE 8... Did you check other browsers as well - Firefox 11(12), Chrome 18, IE9? Is the problem the same in all of them? We havent checked it with any other browsers or versions. But today we figured out that this seems to be with the vertical scroll movement. We have seen that when we move the vertical scroll the data sometimes appear and sometimes doesnt. Though there is no response coming from the server side. Created attachment 215046 [details]
Table response
Avrajit, in order to fix it we really need a way to reproduce the issue. (In reply to comment #5) > Avrajit, in order to fix it we really need a way to reproduce the issue. Finally got to reproduce this bug. Seems to be an issue when the 'RWT.MARKUP_ENABLED' is set for the table. Replace the 'GroupTab' in the demo project with the attached code for 'GroupTab'. Toggle between the 'Remove Data' and 'Show data' buttons on the left. 'Show data' should render the items but it only renders the background and not the content. However if you scroll, the data starts appearing. Created attachment 215064 [details]
Group Tab to be used in the demo project to reproduce the issue
Thanks for the snippet. I can reproduce the issue with current CVS HEAD. Fixed in CVS HEAD. The issue was changing an items text to "" together with Markup. When using "" the Tree would not detect the markup flag, thereby "forgetting" the element was cleared when the new item content was rendered. Since the new content was identical to the first one, it did not re-render. |