Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-11383

Skip VisibilitySocialDocumentListener for deleted document

    XMLWordPrintable

    Details

      Description

      This is to avoid this stacktrace, where the listener is checking if the source document is a proxy whereas it was deleted

      ERROR [org.nuxeo.ecm.core.event.impl.AsyncEventExecutor] Failed to execute async event default on listener createSocialDocumentListener
      org.nuxeo.ecm.core.event.impl.ShallowDocumentModel$NotShallowedException
              at org.nuxeo.ecm.core.event.impl.ShallowDocumentModel.isProxy(ShallowDocumentModel.java:378)
              at org.nuxeo.ecm.social.workspace.helper.SocialWorkspaceHelper.isSocialDocument(SocialWorkspaceHelper.java:134)
              at org.nuxeo.ecm.social.workspace.listeners.VisibilitySocialDocumentListener.handleEvent(VisibilitySocialDocumentListener.java:74)
              at org.nuxeo.ecm.social.workspace.listeners.VisibilitySocialDocumentListener.handleEvent(VisibilitySocialDocumentListener.java:57)
              at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:186)
              at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:150)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
              at java.lang.Thread.run(Thread.java:636)
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: