[
https://issues.apache.org/jira/browse/SLING-12319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus reassigned SLING-12319:
---------------------------------------
Assignee: (was: Konrad Windszus)
> JcrResourceListener should expose the JCR Event's getIdentifier()
> -----------------------------------------------------------------
>
> Key: SLING-12319
> URL: https://issues.apache.org/jira/browse/SLING-12319
> Project: Sling
> Issue Type: Improvement
> Components: JCR
> Reporter: Mark Adamcin
> Priority: Major
>
> The JcrResourceChange
> ([https://github.com/apache/sling-org-apache-sling-jcr-resource/blob/daa4777ba63264b940e6b9b64df24189828ccd17/src/main/java/org/apache/sling/jcr/resource/api/JcrResourceChange.java#L31]
> ) should expose the value of the JCR Event's getIdentifier() method, which
> is otherwise read in case it contains a path, but ultimately discarded:
> [https://github.com/apache/sling-org-apache-sling-jcr-resource/blob/daa4777ba63264b940e6b9b64df24189828ccd17/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceListener.java#L116]
>
> The use case for this is primarily to expose the jcr:uuid of deleted
> mix:referenceable nodes to listeners, because once the node is deleted, the
> jcr:uuid property can no longer be accessed by the event path.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)