jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "c keller (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-79) EventFilter misses Events for same Nodetype
Date Tue, 22 Mar 2005 13:12:20 GMT
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

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.

ObservationManager om = wsp.getObservationManager();
om.addEventListener(listener, Event.PROPERTY_ADDED, "/", true, null, new String[]{"nt:unstructured"},

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:
If you want more information on JIRA, or have a bug to report see:

View raw message