Bug 1174516

Summary: File mapping rules failed to be referred for project type podir push
Product: [Retired] Zanata Reporter: Ding-Yi Chen <dchen>
Component: Component-Maven, Component-zanata-clientAssignee: Patrick Huang <pahuang>
Status: CLOSED CURRENTRELEASE QA Contact: Ding-Yi Chen <dchen>
Severity: high Docs Contact:
Priority: unspecified    
Version: client-3.4CC: zanata-bugs
Target Milestone: ---   
Target Release: client-3.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: commit 2ba3685c07ab53d81beed6668f28a012a012d863 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-20 01:20:27 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:
Attachments:
Description Flags
zanata.xml for man-pages-l10n none

Description Ding-Yi Chen 2014-12-16 00:50:49 UTC
Created attachment 969363 [details]
zanata.xml for man-pages-l10n

Description of problem:
When pushing the translation with podir projects, file mapping rule is ignored, and the client still used the old way to find the translation files, i.e. <trans-dir>/<locale>/<filename>

Version-Release number of selected component (if applicable):
zanata-maven-plugin:3.4.0

How reproducible:
Always

Steps to Reproduce:
1. Assume the project man-pages-l10n and version master is created.
   man-pages-l10n git repo:  https://git.fedorahosted.org/git/man-pages-l10n.git
2. zanata.xml is attached
3. push with 
mvn "-e" "org.zanata:zanata-maven-plugin:push" "-Dzanata.pushType=trans" "-Dzanata.disableSSLCert" "-Dzanata.copyTrans=false


Actual results:
Translation files were not found.

Expected results:
Translation files should be found and pushed.

Additional info:

Comment 1 Ding-Yi Chen 2014-12-16 00:51:45 UTC
Correction, the command should be:
 mvn -e org.zanata:zanata-maven-plugin:push -Dzanata.pushType=trans -Dzanata.disableSSLCert -Dzanata.copyTrans=false

Comment 2 Patrick Huang 2014-12-16 05:15:31 UTC
https://github.com/zanata/zanata-client/pull/40

Comment 3 Ding-Yi Chen 2014-12-23 04:25:53 UTC
VERIFIED with commit 2ba3685c07ab53d81beed6668f28a012a012d863