[ https://issues.apache.org/jira/browse/ACE-531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
J.W. Janssen resolved ACE-531.
------------------------------
Resolution: Fixed
Assignee: J.W. Janssen
Fix Version/s: next
Applied patch from [~brampouwelse] in rev #1731198.
> RemoteRepository has no distinction between an ignored and a failed commit
> ---------------------------------------------------------------------------
>
> Key: ACE-531
> URL: https://issues.apache.org/jira/browse/ACE-531
> Project: ACE
> Issue Type: Bug
> Reporter: Bram Pouwelse
> Assignee: J.W. Janssen
> Fix For: next
>
>
> The {{Repository#commit}} method returns a boolean to indicate whether the commit resulted
in a new version stored. There are exceptions thrown a wrong version or version conflict.
> In the {{RepositoryServlet}} both exceptions and false are translated into a server error
(HTTP 500) response and the {{RemoteRepository#commit}} always returns false when the response
code is something other than OK (HTTP 200).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
|