Description of problem: If a non-empty cell was clear with Save as NeedReview. "Ghost" translation, that is, non-existing translation shown in the supposed-to-be cleared cell. Version-Release number of selected component (if applicable): Zanata version 1.4.2-SNAPSHOT (20111021-1207) How reproducible: Always Steps to Reproduce: 1. Find a non-empty cell, or use clone source and "Save as approved" to create one. 2. Click at that cell, clear the content, then "Save as NeedReview" 3. Click at other cell. Actual results: Ghost translation appeared, yet if you click on the Ghost translation, the translation disappeared as it should. Expected results: Cleared cell remain empty.
At step 2, if a new translation is added after clearing the content and the cell marked as 'NeedReview', the ghost translation (or last saved translation for that cell) is still displayed. Expected Results for cell with previous translation: updated translation marked for review needs to be displayed in the cell.
Fix bug: https://github.com/zanata/zanata/commit/daa2bfa14d51edb8507b91e25b39404b960c131d
VERIFIED with Zanata version 1.4.2-SNAPSHOT (20111025-0954)