Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 96159 invoked from network); 1 Oct 2009 22:46:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Oct 2009 22:46:48 -0000 Received: (qmail 39177 invoked by uid 500); 1 Oct 2009 22:46:47 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 39104 invoked by uid 500); 1 Oct 2009 22:46:47 -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 39018 invoked by uid 99); 1 Oct 2009 22:46:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 22:46:47 +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; Thu, 01 Oct 2009 22:46:44 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A7B5C234C1EB for ; Thu, 1 Oct 2009 15:46:23 -0700 (PDT) Message-ID: <1747215453.1254437183686.JavaMail.jira@brutus> Date: Thu, 1 Oct 2009 15:46:23 -0700 (PDT) From: =?utf-8?Q?Michael_D=C3=BCrig_=28JIRA=29?= To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCR-2340) CacheBehaviour Observation broken MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org CacheBehaviour Observation broken --------------------------------- Key: JCR-2340 URL: https://issues.apache.org/jira/browse/JCR-2340 Project: Jackrabbit Content Repository Issue Type: Bug Affects Versions: 2.0.0 Reporter: Michael D=C3=BCrig While trying to fix JCR-2293 I discovered that CacheBehaviour Observation i= s broken: - HierarchyEventListener.onEvent ignores local event (despite the comment s= aying otherwise). Not sure which way it should be. However with local event= s being ignored, JCR-2293 will most probably also occur with CacheBehaviour= Observation.=20 - NodeEntryImpl.refresh(Event) does not set its child node entries to incom= plete when a node/property was added. - After tentatively fixing above issues, I discovered that NodeEntryImpl.re= fresh(Event) and my own event listener operate on different NodeEntryImpl a= nd ChildNodeEntryImpl instances. That is, even though I set childNodeEntrie= s.complete to false in NodeEntryImpl.refresh(Event), when my own event list= ener retrieves that node (entry), it gets a different instance which has ch= ildNodeEntries.complete still set to true. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.