[
https://issues.apache.org/jira/browse/SLING-12319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18020876#comment-18020876
]
Joerg Hoh commented on SLING-12319:
-----------------------------------
[~madamcin] as this is a clone of SLING-12076, which has been implemented JCR
Resource 3.3.0, is it still valid?
> 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)