Red Hat Bugzilla – Bug 874373
[WebTrans] Entries would not be cleared if you remove the text too quick
Last modified: 2013-02-25 22:46:30 EST
Description of problem:
When translations are removed from entries, it is expected that the entries are actually clear and states as NEW after we move to another page.
However, the text was restored after I switched back the page.
Version-Release number of selected component (if applicable):
Zanata version 2.0.3-SNAPSHOT (20121108-0033)
Steps to Reproduce:
1 Find a multi-paged doucment with at least several translated messages.
Suppose these messages are at row 1, 2 and 3.
The longer the message, the more likely the bug be reproduced.
2.Quickly remove the text in row 1, 2 and 3
If you see "Saving.." in all the rows you modify, it is too slow to reproduce the bug.
1. Blue-greening bolders are around the entries you cleard,
which indicate these cells are not yet saved.
2. Switch to another page and switch back, texts are restored.
Texts are cleared after page switch back.
I believe the cause of this problem is the same as in Bug 803909(right click won't select row)
Focusing on CodeMirror editor won't guarantee row selection. i.e. Right click, or if you use mouse to select trunk of text, it seems like sometimes(if not always) it won't trigger a click event (maybe a drag event instead?). This will be fixed in Bug 803909.
committed into master:
Worked with Zanata version 2.1-SNAPSHOT (20121119-1207)
However, the release branch (2.0.XX) does not work.
Please also put the fix in the release branch.
committed into release ab0029d21c433c04c93aacb7bcce7112b505aa8a
VERIFIED with Zanata version 2.0.3-SNAPSHOT (20121119-0019)