Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 70459 invoked from network); 24 Oct 2007 15:42:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Oct 2007 15:42:43 -0000 Received: (qmail 3533 invoked by uid 500); 24 Oct 2007 15:42:29 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 3493 invoked by uid 500); 24 Oct 2007 15:42:29 -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 3484 invoked by uid 99); 24 Oct 2007 15:42:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Oct 2007 08:42:29 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Oct 2007 15:42:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 922AB714209 for ; Wed, 24 Oct 2007 08:41:50 -0700 (PDT) Message-ID: <2455649.1193240510593.JavaMail.jira@brutus> Date: Wed, 24 Oct 2007 08:41:50 -0700 (PDT) From: "Esteban Franqueiro (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCR-1187) Asking a property twice for it's stream returns the same stream instance MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Asking a property twice for it's stream returns the same stream instance ------------------------------------------------------------------------ Key: JCR-1187 URL: https://issues.apache.org/jira/browse/JCR-1187 Project: Jackrabbit Issue Type: Bug Components: jackrabbit-core Reporter: Esteban Franqueiro If you ask a property for it's associated stream twice, even if you don't read from any of the streams, the stream instance returned is the same. This behavior is not consistent with the file data store, which returns a different stream instance each time Property.getStream() is called. I'm attaching a test case wich demostrates the issue. We're working on this and have a potencial fix for it. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.