Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-79

EventFilter misses Events for same Nodetype

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • observation
    • None

    Description

      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"

      Attachments

        Activity

          People

            mreutegg Marcel Reutegger
            chrisk christian
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: