You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ace.apache.org by "Bram Pouwelse (JIRA)" <ji...@apache.org> on 2016/02/17 11:59:18 UTC
[jira] [Created] (ACE-531) RemoteRepository has no distinction
between an ignored and a failed commit
Bram Pouwelse created ACE-531:
---------------------------------
Summary: 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
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)