Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 747809

Summary: Translation editor: "ghost" translation was shown if cell was cleared with Save as NeedReview
Product: [Retired] Zanata Reporter: Ding-Yi Chen <dchen>
Component: Component-UIAssignee: Alex Eng <aeng>
Status: CLOSED CURRENTRELEASE QA Contact: Ding-Yi Chen <dchen>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.4.1CC: runab, sflaniga, zanata-bugs
Target Milestone: ---   
Target Release: 1.4.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-28 07:02:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 743789, 748696    

Description Ding-Yi Chen 2011-10-21 04:02:17 UTC
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.

Comment 1 Runa Bhattacharjee 2011-10-21 08:28:40 UTC
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.

Comment 3 Ding-Yi Chen 2011-10-26 02:30:40 UTC
VERIFIED with Zanata version 1.4.2-SNAPSHOT (20111025-0954)