ujiro99 / RedmineTimeTracker

Chrome/Electron app for tracking work time.
MIT License
81 stars 29 forks source link

Server returns 422 (Unprocessable Entity) when saving time entry #5

Closed krtek closed 10 years ago

krtek commented 10 years ago

The request looks like this:

<time_entry>
<issue_id>3768</issue_id>
<hours>8</hours>
<activity_id>8</activity_id>
<comments>xxx</comments>
</time_entry>

and server responds with 422 (Unprocessable Entity).

According to documentation, there is spent_on attribute which is optional but it might be worth to try to set it.

krtek commented 10 years ago

I tested it with spent_on filled and it's not the issue. Seems it is something related to our Redmine installation.

krtek commented 10 years ago

This error is probably due to bug in Redmine 2.4.0.