Jackrabbit Content Repository
  1. Jackrabbit Content Repository
  2. JCR-1799

JCR2SPI: updating events swallowed (CacheBehavior.OBSERVATION)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5
    • Component/s: jackrabbit-jcr2spi
    • Labels:
      None

      Description

      with CacheBehavior.OBSERVATION the hierarchy held within jcr2spi is updated based on events.

      if Session-A persistently adds a mix:referenceable to a Node that is already loaded in Session-B, the latter will not be informed about this change.

      Reason: upon processing the SPI Event (-> HierarchyEventListener#onEvent) the parent is retrieved by the Event ItemId, which in the former case contains a uniqueID part, which is not known yet to the listening Session-B.
      Consequently the NodeEntry affected by the event is not updated.

      Possible fix: If looking up the parent entry of the event doesn't succeed, a 2nd lookup using the Event path should be performed.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            angela
            Reporter:
            angela
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development