Bug 987211

Summary: [glossary-push] Show the error message "transLang must be specified" when -Dzanata.transLang is missing
Product: [Retired] Zanata Reporter: Ding-Yi Chen <dchen>
Component: Component-MavenAssignee: Damian Jansen <djansen>
Status: CLOSED DUPLICATE QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.0CC: zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-17 06:15:01 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 Ding-Yi Chen 2013-07-23 01:42:31 UTC
Description of problem:
When pushing glossary without specifing translation languages,

Following message is shown:
[ERROR] Failed to execute goal org.zanata:zanata-maven-plugin:3.0.1-SNAPSHOT:glossary-push (default-cli) on project null: Zanata mojo exception: localeId -> [Help 1]

It will be more informative to say that transLang must be specified.

Version-Release number of selected component (if applicable):
Server Zanata version 3.0.0-alpha-2-SNAPSHOT (20130723-0033)
Client 3.0.1-SNAPSHOT (commit 4ad67d7066)

How reproducible:
Always

Steps to Reproduce:
1. mvn zanata:glossary-push -Dzanata.glossaryFile=compendium-zh_TW.po -Dzanata.url=<zanataServer>

Actual results:
[ERROR] Failed to execute goal org.zanata:zanata-maven-plugin:3.0.1-SNAPSHOT:glossary-push (default-cli) on project null: Zanata mojo exception: localeId -> [Help 1]


Expected results:
[ERROR] Failed to execute goal org.zanata:zanata-maven-plugin:3.0.1-SNAPSHOT:glossary-push (default-cli) on project null: Zanata mojo exception: transLang must be specified  -> [Help 1]


Additional info:

Comment 1 Ding-Yi Chen 2015-02-17 06:15:01 UTC
The behavior seems to change to Bug 1193297

*** This bug has been marked as a duplicate of bug 1193297 ***