Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 77378 invoked from network); 23 Oct 2007 12:33:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Oct 2007 12:33:12 -0000 Received: (qmail 60838 invoked by uid 500); 23 Oct 2007 12:33:00 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 60464 invoked by uid 500); 23 Oct 2007 12:32:59 -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 60455 invoked by uid 99); 23 Oct 2007 12:32:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2007 05:32:59 -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; Tue, 23 Oct 2007 12:33:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D5E5A7141F1 for ; Tue, 23 Oct 2007 05:32:50 -0700 (PDT) Message-ID: <31674954.1193142770704.JavaMail.jira@brutus> Date: Tue, 23 Oct 2007 05:32:50 -0700 (PDT) From: "Marcel Reutegger (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 ] Marcel Reutegger updated JCR-1179: ---------------------------------- Affects Version/s: 1.0 1.0.1 1.1 1.1.1 1.2.1 1.2.2 1.2.3 1.3 1.3.1 1.3.3 +1 I agree, this should be fixed asap. > 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 > Affects Versions: 1.0, 1.0.1, 1.1, 1.1.1, 1.2.1, 1.2.2, 1.2.3, 1.3, 1.= 3.1, 1.3.3 > Reporter: Julian Reschke > Assignee: Marcel Reutegger > 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.