Bug 864301

Summary: Text Flow Target History contains an entry for the initial empty string
Product: [Retired] Zanata Reporter: Carlos Munoz <camunoz>
Component: Component-LogicAssignee: Carlos Munoz <camunoz>
Status: CLOSED CURRENTRELEASE QA Contact: Ding-Yi Chen <dchen>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: developmentCC: zanata-bugs
Target Milestone: ---   
Target Release: 2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 1.8.0-SNAPSHOT (20121012-0031) Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-07 06:18:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Carlos Munoz 2012-10-09 04:30:48 UTC
Description of problem:
Text Flow target history contains an empty entry after an initial save.


Version-Release number of selected component (if applicable):
1.8-SNAPSHOT

How reproducible:
Always (found on a po project with plurals)


Steps to Reproduce:
1. Try to edit a NEW text flow on any project.
2. Visit the History screen.
  
Actual results:
There is an entry in the history screen for an initial "empty" state. This entry cannot be copied into the editor.

Expected results:
There should only be a single history entry after the initial save. One for the current latest state.

Comment 1 Carlos Munoz 2012-10-10 03:33:14 UTC
Removed an unnecessary flush, causing the extra history entry.

See:
https://github.com/zanata/zanata/commit/ecab261da1a294e187bcd7442b56542ecc27ae3b

Comment 2 Ding-Yi Chen 2012-10-15 03:41:28 UTC
VERIFIED with Zanata version 1.8.0-SNAPSHOT (20121012-0031)

Comment 3 Sean Flanigan 2012-11-07 06:18:38 UTC
Fix released in Zanata 2.0.