You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Himanshu Sawhney (JIRA)" <ji...@apache.org> on 2014/11/19 13:59:33 UTC

[jira] [Commented] (SLING-4188) EventHandlers registered for TOPIC_RESOURCE_REMOVED should get proverty values of deleted resource in handleEvent method

    [ https://issues.apache.org/jira/browse/SLING-4188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14217854#comment-14217854 ] 

Himanshu Sawhney commented on SLING-4188:
-----------------------------------------

As per offline discussion with [~fmeschbe] in oak based repository the NodeObservor has the value of properties of deleted resource. We can fix this improvement for the oak based repository.

> EventHandlers registered for TOPIC_RESOURCE_REMOVED should get proverty values of deleted resource in handleEvent method
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-4188
>                 URL: https://issues.apache.org/jira/browse/SLING-4188
>             Project: Sling
>          Issue Type: Improvement
>            Reporter: Himanshu Sawhney
>            Priority: Minor
>
> We have a use case when user deletes some resource under some path, we have to do some post processing. This post processing depend upon value of sling:resourceType deleted by the user.
>  
> We are planning to do this using the Sling EventHandler, but problem is that, event object received in handleEvent method don’t have any information regarding values of properties of resource being deleted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)