Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-58111

Confluence Unable to send notifications for page updates

    XMLWordPrintable

Details

    Description

      Summary

      Email notifications are not sent to page or space watchers when editing a page, even with the "notify watchers" checked.

      Environment

      Cloud

      Steps to Reproduce

      1. on a page that is being watched, edit that page while notify watchers is checked

      Expected Results

      All watchers get a notification email for the update to the page.

      Actual Results

      The email is never sent and this shows up and an error like this shows up in the logs:

      2017-11-02 12:22:24.845	ERROR	com.atlassian.event.internal.AsynchronousAbleEventDispatcher	There was an exception thrown trying to dispatch event [com.atlassian.confluence.api.model.event.content.ContentUpdatedEvent@d63d1fcb] from the invoker [Timing Invoker for SingleParameterMethodListenerInvoker{method=public void com.atlassian.streamhub.p2plugin.confluence.listener.ConfluenceEventListener.onEvent(com.atlassian.confluence.api.model.event.content.ContentEvent) throws java.io.IOException, listener=com.atlassian.streamhub.p2plugin.confluence.listener.ConfluenceEventListener@78e6f38c}]	Cannot call get() on collapsed object, ensure the property was included in the expansions on the original service request. Listener: com.atlassian.streamhub.p2plugin.confluence.listener.ConfluenceEventListener event: com.atlassian.confluence.api.model.event.content.ContentUpdatedEvent	java.lang.RuntimeException: Cannot call get() on collapsed object, ensure the property was included in the expansions on the original service request. Listener: com.atlassian.streamhub.p2plugin.confluence.listener.ConfluenceEventListener event: com.atlassian.confluence.api.model.event.content.ContentUpdatedEvent at 
      com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:55) at 
      com.atlassian.confluence.event.ConfluenceListenerHandlersConfiguration$TimingListenerHandler$1.invoke(ConfluenceListenerHandlersConfiguration.java:66) at 
      com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:56) at 
      com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:299) at 
      com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:105) at 
      ...
      java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalStateException: Cannot call get() on collapsed object, ensure the property was included in the expansions on the original service request at 
      com.atlassian.confluence.api.model.reference.Collapsed$Exceptions.throwCollapsedException(Collapsed.java:22) at 
      com.atlassian.confluence.api.model.reference.CollapsedReference.get(CollapsedReference.java:76) at 
      com.atlassian.confluence.api.model.content.Content.getHistory(Content.java:322) at 
      com.atlassian.streamhub.p2plugin.confluence.serializer.ConfluenceContentEventSerializer.buildRestEntity(ConfluenceContentEventSerializer.java:72) at 
      com.atlassian.streamhub.p2plugin.confluence.serializer.ConfluenceContentEventSerializer.buildPayload(ConfluenceContentEventSerializer.java:58) at 
      ...
      

      Notes

      Notifications are sent for pages that are newly created.

      Workaround

      There is currently no workaround to this issue.

      Attachments

        Issue Links

          Activity

            People

              ssreenivasan srisreeni
              jlong@atlassian.com Jared Long
              Votes:
              18 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: