Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 41263 invoked from network); 10 Aug 2009 10:17:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Aug 2009 10:17:32 -0000 Received: (qmail 57090 invoked by uid 500); 10 Aug 2009 10:17:39 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 57007 invoked by uid 500); 10 Aug 2009 10:17:39 -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 56999 invoked by uid 99); 10 Aug 2009 10:17:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Aug 2009 10:17:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Mon, 10 Aug 2009 10:17:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C4549234C004 for ; Mon, 10 Aug 2009 03:17:14 -0700 (PDT) Message-ID: <1810243204.1249899434788.JavaMail.jira@brutus> Date: Mon, 10 Aug 2009 03:17:14 -0700 (PDT) From: "Marcel Reutegger (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (JCR-2248) QValueFactoryImpl$BinaryQValue must not return 'this' on getBinary In-Reply-To: <1529479342.1249661234807.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-2248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger resolved JCR-2248. ----------------------------------- Resolution: Fixed Fix Version/s: 2.0.0 Applied patch in revision: 802718 > QValueFactoryImpl$BinaryQValue must not return 'this' on getBinary > ------------------------------------------------------------------ > > Key: JCR-2248 > URL: https://issues.apache.org/jira/browse/JCR-2248 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-spi-commons > Reporter: Marcel Reutegger > Priority: Minor > Fix For: 2.0.0 > > Attachments: JCR-2248.patch > > > This is basically the same as JCR-2238, but for the spi-commons module. BinaryQValue returns 'this' on getBinary(), which will lead to a file not found exception because Binary.dispose() will delete the the underlying temp file. > The issue is partially hidden by the presence of a bug in BinaryQValue.read(): the RandomAccessFile is not closed after reading, which might prevent deleting of the temp file. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.