Uploaded image for project: 'Observation'
  1. Observation
  2. MGNLOBS-1

Fails to deliver REMOVE event

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Blocker
    • 1.1
    • 1.0
    • None

    Description

      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)

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              tmiyar Teresa Miyar
              scharles Sameer Charles
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 1h
                    1h