Bug 1174516 - File mapping rules failed to be referred for project type podir push
Summary: File mapping rules failed to be referred for project type podir push
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-Maven, Component-zanata-client
Version: client-3.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: client-3.4
Assignee: Patrick Huang
QA Contact: Ding-Yi Chen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-16 00:50 UTC by Ding-Yi Chen
Modified: 2015-04-20 01:20 UTC (History)
1 user (show)

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
Embargoed:


Attachments (Terms of Use)
zanata.xml for man-pages-l10n (2.84 KB, application/xml)
2014-12-16 00:50 UTC, Ding-Yi Chen
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.