Bug 1234715

Summary: NPE when pushing glossary without given transLang argument
Product: [Retired] Zanata Reporter: Patrick Huang <pahuang>
Component: Component-zanata-clientAssignee: Damian Jansen <djansen>
Status: CLOSED UPSTREAM QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.7CC: 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-07-28 23:17:16 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 Patrick Huang 2015-06-23 06:17:51 UTC
Description of problem:


Version-Release number of selected component (if applicable):
3.7.0-SNAPSHOT and below


How reproducible:
Always

Steps to Reproduce:
1. make sure your pom.xml doesn't define zanata.transLang property
2. mvn org.zanata:zanata-maven-plugin:3.7.0-SNAPSHOT:glossary-push -Dzanata.glossaryFile=compendium_fr.po -Dzanata.url=http://localhost:8080/zanata/  


Actual results:
NullPointerException

Expected results:
Meaningful error message e.g. "transLang is required when pushing po format glossary"

Additional info:
transLang is not required when pushing csv format glossary.

Comment 1 Zanata Migrator 2015-07-28 23:17:16 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-96