ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bram Pouwelse (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACE-531) RemoteRepository has no distinction between an ignored and a failed commit
Date Wed, 17 Feb 2016 10:59:18 GMT
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)

Mime
View raw message