Closed GoogleCodeExporter closed 9 years ago
If you try to access it via webbrowser and it gives the same error, maybe your
url is incorrect? Did you try to add/remove the redmine part?
Maybe it is
http://mothra/users/current.xml
or
http://mothra/redmine/redmine/users/current.xml
in my case the redmine url is http://server/redmine/users/current.xml
but when I go to http://server/users/current.xml I get an internal server error.
Please let me know if you can find the solution.
Original comment by bas.them...@gmail.com
on 6 Jun 2013 at 7:11
The URL should be correct. In fact I am able to access redmine pointing the
browser at http://mothra/redmine. Also, by reading the log (Processing
UsersController#show to xml (for 192.168.10.46 at 2013-05-28 16:45:40) [GET]
Parameters: {"controller"=>"users", "action"=>"show", "id"=>"current",
"format"=>"xml"}) I'm confident the address is correct.
And if I point my browser to http://mothra/redmine/users/current (note without
.xml extension) I correctly receive my user information/settings page.
Interestingly enough I managed to get the json version of the information by
the URL: http://mothra/redmine/users/current.json . Therefore it seems
something very related to the xml format.
Maybe this is a bug/feature in the specific version of redmine I'm using?
Original comment by max...@gmail.com
on 6 Jun 2013 at 8:23
OK, from your info it looks like a bug in redmine.
I'll see if I can switch to json internally.
Original comment by bas.them...@gmail.com
on 6 Jun 2013 at 8:27
Please try attached version.
In the settings dialog you can select the communication type (xml/json)
Original comment by bas.them...@gmail.com
on 6 Jun 2013 at 9:05
Attachments:
Ok, definitively a step in the good direction. I am able to get the message
"Initiating the connection with Redmine was successful." after pressing "Test
Connection", but then I get two "Exception: Internal Server Error." dialogs.
Maybe there are still sections of the code that rely on xml?
Original comment by max...@gmail.com
on 6 Jun 2013 at 9:20
Hmm yeah, you're right...
Original comment by bas.them...@gmail.com
on 6 Jun 2013 at 9:25
Attachments:
Bingo!! Works great!
Thank you.
Original comment by max...@gmail.com
on 6 Jun 2013 at 9:35
Thanks for testing!
Will also be included in next official release.
Original comment by bas.them...@gmail.com
on 6 Jun 2013 at 9:40
Original issue reported on code.google.com by
max...@gmail.com
on 28 May 2013 at 2:58Attachments: