Bug 891830 - Test case failure: prjmant mvn push podir
Test case failure: prjmant mvn push podir
Status: CLOSED NOTABUG
Product: Zanata
Classification: Community
Component: Component-Maven (Show other bugs)
development
Unspecified Linux
unspecified Severity high
: ---
: 2.1
Assigned To: zanata-dev-internal
Ding-Yi Chen
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-04 01:09 EST by Patrick Huang
Modified: 2013-01-06 20:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-01-06 20:10:09 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Patrick Huang 2013-01-04 01:09:16 EST
Filed from caserun https://tcms.engineering.redhat.com/run/53809/#caserun_1944187

Version-Release number of selected component (if applicable):
2.1-SNAPSHOT

Steps to Reproduce: 
Setup test data as described in

https://engineering.redhat.com/trac/zanata/wiki/
ExampleSettingsAndDocumentProjects#AboutFedora

maven is installed.

Project "AboutFedora" is created, and version "master" is created.

User "autoprjmant is created, joined ja and zh-Hans language team, and set as
project maintainer of About Fedora.

 


In command line:

 1. mvn zanata:push -Dzanata.userConfig=zanata.prjmant.ini -Dzanata.copyTrans=
    false
 2. mvn zanata:push -Dzanata.userConfig=zanata.prjmant.ini -Dzanata.pushTrans=
    true -Dzanata.copyTrans=false

 



Actual results: 
maven client failed and server log has:
2013-01-04 16:02:52,795 ERROR [org.zanata.process.AsynchronousExecutor] (DefaultQuartzScheduler_Worker-9) Exception with long runn
ing process: null
2013-01-04 16:02:52,795 ERROR [org.zanata.rest.service.AsynchronousProcessResourceService] (DefaultQuartzScheduler_Worker-9) Error
 pushing translations
java.lang.NullPointerException
        at org.zanata.service.impl.TranslationServiceImpl.translateAllInDoc(TranslationServiceImpl.java:436)
        at org.zanata.service.impl.TranslationServiceImpl.translateAllInDoc(TranslationServiceImpl.java:411)


Expected results:
After Step 1: Push successfully without error.

After Step 2: Visit project AboutFedora in browser, source documents should be
available under the version "master", stats should show some translations.
Comment 1 Patrick Huang 2013-01-04 01:11:16 EST
case run should be: https://tcms.engineering.redhat.com/run/53809/#caserun_1944188
Comment 2 Patrick Huang 2013-01-06 20:10:09 EST
run it again on a new project and version it works.

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