Return-Path: X-Original-To: apmail-ace-commits-archive@www.apache.org Delivered-To: apmail-ace-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CE4CA1820D for ; Wed, 17 Feb 2016 10:59:21 +0000 (UTC) Received: (qmail 56568 invoked by uid 500); 17 Feb 2016 10:59:18 -0000 Delivered-To: apmail-ace-commits-archive@ace.apache.org Received: (qmail 56244 invoked by uid 500); 17 Feb 2016 10:59:18 -0000 Mailing-List: contact commits-help@ace.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ace.apache.org Delivered-To: mailing list commits@ace.apache.org Received: (qmail 55948 invoked by uid 99); 17 Feb 2016 10:59:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2016 10:59:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 3C44A2C1F69 for ; Wed, 17 Feb 2016 10:59:18 +0000 (UTC) Date: Wed, 17 Feb 2016 10:59:18 +0000 (UTC) From: "Bram Pouwelse (JIRA)" To: commits@ace.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ACE-531) RemoteRepository has no distinction between an ignored and a failed commit MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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)