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

[jira] [Commented] (SLING-4188) EventHandlers registered for TOPIC_RESOURCE_REMOVED should get property 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=14217911#comment-14217911 ] 

Carsten Ziegeler commented on SLING-4188:
-----------------------------------------

I'm not against supporting this, however this binds this feature to Oak - however an app using this feature is nowhere declaring this dependency and it's not visible. As JR2 is more or less in maintenance mode, I guess we could require Oak for newer versions of the jcr.resource bundle and make this contract explicit.

> EventHandlers registered for TOPIC_RESOURCE_REMOVED should get property values of deleted resource in handleEvent method.
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-4188
>                 URL: https://issues.apache.org/jira/browse/SLING-4188
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR Resource 2.3.12
>            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)