Bug 1234715 - NPE when pushing glossary without given transLang argument
Summary: NPE when pushing glossary without given transLang argument
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Zanata
Classification: Retired
Component: Component-zanata-client
Version: 3.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Damian Jansen
QA Contact: Zanata-QA Mailling List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-23 06:17 UTC by Patrick Huang
Modified: 2015-07-28 23:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-07-28 23:17:16 UTC
Embargoed:


Attachments (Terms of Use)

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


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