[ 
http://jira.magnolia.info/browse/MGNLOBS-1?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16723#action_16723
 ] 

Sameer Charles commented on MGNLOBS-1:
--------------------------------------

have you tested with the current deactivate command?
If not we might have to write a special deactivate command together with this 
module.

> Fails to deliver REMOVE event
> -----------------------------
>
>                 Key: MGNLOBS-1
>                 URL: http://jira.magnolia.info/browse/MGNLOBS-1
>             Project: Magnolia Observation Module
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Sameer Charles
>            Assignee: Teresa Miyar
>            Priority: Blocker
>          Time Spent: 1 hour
>  Remaining Estimate: 0 minutes
>
> Exception raised If I add a listener for event type NODE_REMOVED and with 
> "restrictPathToNodeType" as the same node type as the node which 
> has been deleted.
> I am trying to setup a listener to deactivate a node if someone removes it 
> from an external system.
> - Note that Deactivation command does work with the UUID.
> ------------------------------------------------------------------------------------------------------------------------
> ERROR  info.magnolia.module.observation.commands.CommandEventListener 
> CommandEventListener.java(onEvent:119) 24.06.2008 14:26:18  can't deliver 
> event
> javax.jcr.PathNotFoundException: proxyObjects/2008/6/8/ArticleX2
>         at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2501)
>         at 
> info.magnolia.cms.core.DefaultContent.<init>(DefaultContent.java:131)
>         at 
> info.magnolia.cms.core.DefaultHierarchyManager.getContent(DefaultHierarchyManager.java:279)
>         at 
> info.magnolia.module.observation.commands.CommandWithPathEventListener.getPath(CommandWithPathEventListener.java:63)
>         at 
> info.magnolia.module.observation.commands.CommandEventListener.onEvent(CommandEventListener.java:97)
>         at 
> org.apache.jackrabbit.core.observation.EventConsumer.consumeEvents(EventConsumer.java:231)
>         at 
> org.apache.jackrabbit.core.observation.ObservationDispatcher.run(ObservationDispatcher.java:145)
>         at java.lang.Thread.run(Thread.java:613)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to