Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 42883 invoked from network); 18 Oct 2007 10:41:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Oct 2007 10:41:44 -0000 Received: (qmail 92063 invoked by uid 500); 18 Oct 2007 10:41:30 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 92039 invoked by uid 500); 18 Oct 2007 10:41:30 -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 91894 invoked by uid 99); 18 Oct 2007 10:41:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2007 03:41: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; Thu, 18 Oct 2007 10:41:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 00A4571422E for ; Thu, 18 Oct 2007 03:40:51 -0700 (PDT) Message-ID: <29438343.1192704051000.JavaMail.jira@brutus> Date: Thu, 18 Oct 2007 03:40:50 -0700 (PDT) From: "Julian Reschke (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-1179) Event filtering by path not working as specified In-Reply-To: <355614.1192703690568.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1179?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated JCR-1179: -------------------------------- Attachment: JCR-1179.patch Proposed patch. > Event filtering by path not working as specified > ------------------------------------------------ > > Key: JCR-1179 > URL: https://issues.apache.org/jira/browse/JCR-1179 > Project: Jackrabbit > Issue Type: Bug > Components: observation > Reporter: Julian Reschke > Attachments: JCR-1179.patch > > > When filtering node events by path, the event filter doesn't compare usin= g the "associated parent path", see JSR-170, 8.3.3: > "The set of events can be filtered by specifying restrictions based on ch= aracteristics of the associated parent node of the event. The associated pa= rent node of an event is the parent node of the item at (or formerly at) th= e path returned by Event.getPath. The following restrictions are available: > =E2=80=A2 absPath, isDeep: Only events whose associated parent node is at= absPath (or within its subtree, if isDeep is true) will be received. It is= permissible to register a listener for a path where no node currently exis= ts." > (for property events, filtering is correct) > To fix this, the special handling of node events in EventFilter.blocks() = simply needs to be removed. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.