Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1921

Add current+previous value to property-related observation events

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 3.3.0.Final
    • None
    • JCR
    • None

    Description

      I know it's not part of the JCR spec, but it would be super helpful if the JcrEvent had access to the before and after state of a property (for property related events). Sort of surprising that it's not part of the spec, actually.

      For reference: https://github.com/ModeShape/modeshape/blob/master/modeshape-jcr/src/main/java/org/modeshape/jcr/JcrObservationManager.java#L827

      This would be particularly useful when using Observation to do transparent auditing of changes (my particular use case).

      Attachments

        Activity

          People

            hchiorean Horia Chiorean (Inactive)
            ewittman@redhat.com Eric Wittmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: