Defect #15233
closed500 in POST to /Users.xml
0%
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