Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6B141115B1 for ; Wed, 9 Jul 2014 08:14:05 +0000 (UTC) Received: (qmail 23594 invoked by uid 500); 9 Jul 2014 08:14:05 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 23523 invoked by uid 500); 9 Jul 2014 08:14:05 -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 23512 invoked by uid 99); 9 Jul 2014 08:14:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2014 08:14:04 +0000 Date: Wed, 9 Jul 2014 08:14:04 +0000 (UTC) From: =?utf-8?Q?Michael_D=C3=BCrig_=28JIRA=29?= To: dev@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (JCR-3765) JCR Event Info should contain NodeType MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-3765?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Michael D=C3=BCrig updated JCR-3765: ------------------------------- Attachment: JCR-3765.patch Proposed patch for relaxing the test expectations > JCR Event Info should contain NodeType > -------------------------------------- > > Key: JCR-3765 > URL: https://issues.apache.org/jira/browse/JCR-3765 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-core > Reporter: Michael D=C3=BCrig > Priority: Minor > Attachments: JCR-3765.patch > > > This issue is about back porting the features introduced in Oak with OAK-= 1661 and OAK-1669: > Code developped for Jackrabbit's Observation often struggle with processi= ng events for deleted Nodes. Processing like for aggregation may depend on = the type of the deleted Node. The solution to take a Nodetype filter could = be prevented or some reasons. > Adding the node-type to the Event's Info object would help in this cases.= OAK-1661 added node type information for NODE_ADDED and NODE_REMOVED event= s. We should consider adding this for all event types however. Even propert= y events would contain node type of the node the property is associated wit= h (parent). > An implication of this is however that we also need to adapt the TCK as t= his will cause org.apache.jackrabbit.test.api.observation.GetInfoTest to fa= il, which expects the info map to be generally empty. -- This message was sent by Atlassian JIRA (v6.2#6252)