Bug 740159

Summary: Python client: pushing with --merge=import does not overwrite the translation on server
Product: [Retired] Zanata Reporter: Ding-Yi Chen <dchen>
Component: Component-PythonClientAssignee: James Ni <jni>
Status: CLOSED CURRENTRELEASE QA Contact: Ding-Yi Chen <dchen>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.4-RCCC: jni, sflaniga, zanata-bugs
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: v1.3.1-22-gab314ce Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-04 02:57:56 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:

Description Ding-Yi Chen 2011-09-21 07:03:25 UTC
Description of problem:
When pushing with --merge=import, the translations on server are not overwritten, just like --merge=auto were passed.

Version-Release number of selected component (if applicable):
1.3.0 and commit b9c55fdf519cfb18b95260b71549c875ad8bfc56

How reproducible:
Always

Steps to Reproduce:
1. Assume AboutFedora, version f13, and zh-CN translation are imported.
2. Login though Web UI
3. Goto Project AboutFedora, version 13, locale zh-CN (or equivalent)
4. Visit Document "About_Fedora"
5. Now message list of "About_Fedora" should be showing, 
   click on "Copy from Source" on row 1, and Save as Approved
6. zanata push --project-type=podir --merge=import --push-trans


Actual results:
After reload, row 1 has not been overwritten by the translation from original project repository.

Expected results:
After reload, row 1 should be overwritten by the translation from original project repository.

Additional info:
maven client pushing with -Dzanata.merge=import works

Comment 1 James Ni 2011-09-30 09:23:36 UTC
I have modified source code and commit it to git-hub, i verify this issue on my side, it works fine. So, please download the latest version of source code on git-hub to verify this issue.

Comment 2 James Ni 2011-09-30 09:30:52 UTC
The commit 8ed38f9 fixed this issue

Comment 3 Ding-Yi Chen 2011-10-07 00:28:09 UTC
VERIFIED with commit ab314cee446132875151823aaf9807c18c564ac2

Comment 4 Sean Flanigan 2011-10-28 08:24:21 UTC
Could you please close this when 1.3.2 is released?