Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 76080 invoked from network); 26 Mar 2010 11:14:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Mar 2010 11:14:50 -0000 Received: (qmail 74786 invoked by uid 500); 26 Mar 2010 11:14:50 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 73830 invoked by uid 500); 26 Mar 2010 11:14:48 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 73815 invoked by uid 99); 26 Mar 2010 11:14:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Mar 2010 11:14:48 +0000 X-ASF-Spam-Status: No, hits=-1142.2 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Mar 2010 11:14:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3C7EA234C4EB for ; Fri, 26 Mar 2010 11:14:27 +0000 (UTC) Message-ID: <298236681.507191269602067246.JavaMail.jira@brutus.apache.org> Date: Fri, 26 Mar 2010 11:14:27 +0000 (UTC) From: "angela (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCR-2585) spi2davex: unspecific BadRequest error instead of error code matching the RepositoryException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 spi2davex: unspecific BadRequest error instead of error code matching the RepositoryException --------------------------------------------------------------------------------------------- Key: JCR-2585 URL: https://issues.apache.org/jira/browse/JCR-2585 Project: Jackrabbit Content Repository Issue Type: Improvement Components: jackrabbit-jcr-server, jackrabbit-spi2dav Affects Versions: 2.0.0 Reporter: angela the JsonDiffHandler#NodeHandler in the server part of the jcr remoting may only throw IOException if an error occurs. this results in unspecific BadRequest responses even if the problem source was something very specific such as e.g. a locked node. after having a first glance at this i think that making DiffException a subclass of IOException would allow to generate much more specific responses codes that even include the original exception details. i will attach a patch as i didn't had time to carefully test it. [the conformance tests passed]. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.