jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-79) EventFilter misses Events for same Nodetype
Date Tue, 22 Mar 2005 13:45:21 GMT
     [ http://issues.apache.org/jira/browse/JCR-79?page=comments#action_61372 ]
     
Marcel Reutegger commented on JCR-79:
-------------------------------------

Thanks for reporting this issue Chris.

This happens when the session registering the listener is not the same session that does the
changes on the workspace. Unfortunately all test cases listen with same session for observation
events and also do changes with that session, so they did not fail.

> EventFilter misses Events for same Nodetype
> -------------------------------------------
>
>          Key: JCR-79
>          URL: http://issues.apache.org/jira/browse/JCR-79
>      Project: Jackrabbit
>         Type: Bug
>   Components: observation
>     Reporter: c keller
>     Assignee: Marcel Reutegger

>
> If an ObservationListener registers with a NodeType-filter, 
> it only gets informed about events on Sub-NodeTypes of the ones specified in the filter
but not on the NodeType itself.
> Example:
> ========
> ObservationManager om = wsp.getObservationManager();
> om.addEventListener(listener, Event.PROPERTY_ADDED, "/", true, null, new String[]{"nt:unstructured"},
true);
> would receive notifications on nodes of type "rep:root", which is based on "nt:unstructured"
but not of "nt:unstructured"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message