Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 97776 invoked from network); 6 Oct 2009 13:45:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Oct 2009 13:45:58 -0000 Received: (qmail 57906 invoked by uid 500); 6 Oct 2009 13:45:56 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 57851 invoked by uid 500); 6 Oct 2009 13:45:56 -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 57840 invoked by uid 99); 6 Oct 2009 13:45:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 13:45:56 +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; Tue, 06 Oct 2009 13:45:53 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EED52234C03A for ; Tue, 6 Oct 2009 06:45:31 -0700 (PDT) Message-ID: <482664975.1254836731964.JavaMail.jira@brutus> Date: Tue, 6 Oct 2009 06:45:31 -0700 (PDT) From: =?utf-8?Q?Michael_D=C3=BCrig_=28JIRA=29?= To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (JCR-2340) CacheBehaviour Observation broken In-Reply-To: <1747215453.1254437183686.JavaMail.jira@brutus> 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 [ https://issues.apache.org/jira/browse/JCR-2340?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Michael D=C3=BCrig resolved JCR-2340. -------------------------------- Resolution: Fixed Fix Version/s: 2.0.0 Assignee: Michael D=C3=BCrig After talking to Angela we decided that only the comment needs fixing.=20 Fixed in revision: 822272 =20 > CacheBehaviour Observation broken > --------------------------------- > > Key: JCR-2340 > URL: https://issues.apache.org/jira/browse/JCR-2340 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-jcr2spi > Affects Versions: 2.0.0 > Reporter: Michael D=C3=BCrig > Assignee: Michael D=C3=BCrig > Fix For: 2.0.0 > > > While trying to fix JCR-2293 I discovered that CacheBehaviour Observation= is broken: > - HierarchyEventListener.onEvent ignores local event (despite the comment= saying otherwise). Not sure which way it should be. However with local eve= nts being ignored, JCR-2293 will most probably also occur with CacheBehavio= ur Observation.=20 > - NodeEntryImpl.refresh(Event) does not set its child node entries to inc= omplete when a node/property was added. > - After tentatively fixing above issues, I discovered that NodeEntryImpl.= refresh(Event) and my own event listener operate on different NodeEntryImpl= and ChildNodeEntryImpl instances. That is, even though I set childNodeEntr= ies.complete to false in NodeEntryImpl.refresh(Event), when my own event li= stener retrieves that node (entry), it gets a different instance which has = childNodeEntries.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.