Bug 746857 - Returned 500 (Internal Server Error) with maven putuser
Summary: Returned 500 (Internal Server Error) with maven putuser
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-Maven
Version: 1.4.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Carlos Munoz
QA Contact: Ding-Yi Chen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-18 01:12 UTC by Ding-Yi Chen
Modified: 2012-04-23 04:32 UTC (History)
3 users (show)

Fixed In Version: 1.5-SNAPSHOT
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-04-23 04:32:52 UTC
Embargoed:


Attachments (Terms of Use)
Client log (19.99 KB, text/plain)
2011-10-18 01:12 UTC, Ding-Yi Chen
no flags Details

Description Ding-Yi Chen 2011-10-18 01:12:36 UTC
Created attachment 528677 [details]
Client log

Description of problem:
The server return 500 (Internal Server Error) when putuser with maven.


Version-Release number of selected component (if applicable):
Client 1.4.2-SNAPSHOT
Server Zanata version 1.4.2-SNAPSHOT (20111017-1543)


How reproducible:
Always

Steps to Reproduce:
1. Create a user "autotrans" with following command
mvn -e -U org.zanata:zanata-maven-plugin:putuser -Dzanata.url=http://zanata-endeavour.lab.eng.bne.redhat.com:8080/ -Dzanata.username=admin -Dzanata.key=b6d7044e9ee3b2447c28fb7c50d86d98 -Dzanata.userRoles=translator -Dzanata.userDisabled=false -Dzanata.userEmail=autotrans -Dzanata.userKey=23456789012345678901234567890123 -Dzanata.userLangs=ja,zh-Hans "-Dzanata.userName=Auto Translator" -Dzanata.userUsername=autotrans -Dzanata.userPasswordHash=UoT7kD9H6euhylD6H3oOPg==
  
Actual results:
Failed with 500 (Internal Server Error)

Expected results:
Successfully create the user "autotrans" without error.

Additional info:

Comment 1 Carlos Munoz 2012-01-06 00:15:25 UTC
500 errors were being caused by a missing xml root element declaration on the Account class, and a null pointer exception when accessing an empty list on the same class. Both issues fixed and ready for validation.

Comment 3 Alex Eng 2012-01-06 01:35:15 UTC
Verified in 1.5.


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