ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.W. Janssen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ACE-531) RemoteRepository has no distinction between an ignored and a failed commit
Date Fri, 19 Feb 2016 08:42:18 GMT

     [ 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)

Mime
View raw message