Project

General

Profile

Actions

Defect #15233

closed

500 in POST to /Users.xml

Added by Jens Theisen about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

In an attempt to integrate redmine more tightly with my own applications, I'm trying to create users through the API.

I managed to get authenticated and get a list of current users, but on posting to /Users.xml, I get a 500.

I posted the example xml from here: http://www.redmine.org/projects/redmine/wiki/Rest_Users#POST.

This might be a bug, but since I'm getting this on my current install, which is 2.0.1, as well as a fresh install in the bitnami cloud, which is 2.3.3, it's also possible I'm just doing something stupid.

I attached the request and the response.

Also, here's the version info from the two installations I tested with the same result:

Bitnami cloud machine:

Environment:
Redmine version 2.3.3.stable
Ruby version 1.9.3-p448 (2013-06-27) [x86_64-linux]
Rails version 3.2.13
Environment production
Database adapter Mysql2
Redmine plugins:
no plugin installed

My production system:

Environment:
Redmine version 2.0.1.stable
Ruby version 1.9.3 (i386-mingw32)
Rails version 3.2.3
Environment production
Database adapter SQLite
Redmine plugins:
no plugin installed


Files

redmineconv.txt (1.46 KB) redmineconv.txt Request and response Jens Theisen, 2013-10-31 13:08
redmine500-productionlog.png (16.7 KB) redmine500-productionlog.png The requested excerpt from production.log Jens Theisen, 2013-11-04 12:43
Actions

Also available in: Atom PDF