Bug 1172911 - zanata-cli on Fedora for xliff project has NullPointerException during push when --validate is not specified
Summary: zanata-cli on Fedora for xliff project has NullPointerException during push w...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Zanata
Classification: Retired
Component: Component-zanata-client
Version: unspecified
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Damian Jansen
QA Contact: Zanata-QA Mailling List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-11 04:29 UTC by David Mason
Modified: 2015-07-29 02:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-07-29 02:09:06 UTC
Embargoed:


Attachments (Terms of Use)

Description David Mason 2014-12-11 04:29:13 UTC
Description of problem:
With zanata-cli installed on Fedora today using `sudo yum install zanata-client`, trying to push a single xliff file caused a NullPointerException in PushCommand.validateValidation(). Repeating the same command with ` --validate CONTENT` appended does not generate a NullPointerException.

Version-Release number of selected component (if applicable):
Client version is unknown since the --version command generates no output.


How reproducible:
Easy, always

Steps to Reproduce:
1. sudo yum install zanata-cli
2. create a project config for an xliff project
3. run `zanata-cli -e push -s src -t trans`
4. run `zanata-cli -e push -s src -t trans --validate CONTENT`

Actual results:
3. NullPointerException is reported.
4. No exception is reported.


Expected results:
3 & 4. No exception is reported.

Comment 1 Zanata Migrator 2015-07-29 02:09:06 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-125


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