Uploaded image for project: 'Bloomreach Forge'
  1. Bloomreach Forge
  2. FORGE-49

Properties: JCR node-event listener listens to wrong event

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • None
    • Properties
    • None
    • Demo

    Description

      The JCR node-event listener for invalidating the properties cache listens to the node-added event (as per Spring config). As the primary intent of the cache invalidation is to make (published) changes to the properties file(s) available, the node-added event is inappropriate, because it is fired when the properties document goes into edit mode, but not when the document is published. On a project, I found that using the "property changed" event is more suitable for Release 7.7. On Release 7.8, there will be a new, higher-level event mechanism, which seems more appropriate to solve this problem than a listener at the JCR level.

      Attachments

        Activity

          People

            jsheriff Junaidh Kadhar Sheriff
            tjeger Tobias Jeger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: