Cannot edit content created by a deleted Slack/Confluence user

XMLWordPrintable

    • 25
    • Severity 2 - Major
    • 2

      Issue Summary

      Cannot edit content created by deleted Slack/Confluence user.

      Steps to Reproduce

      As an administrator:

      Log in as a Confluence user:

      1. Configure personal notifications with Slack (tying a space to a channel and user)
      2. Create some content with that user (user automatically watches that content)
      3. Confirm that you get notifications in Slack anytime that page/space is updated

      As an administrator:

      1. Go to User Management
      2. Delete the user
      3. Try editing a page that the user created

      Expected Results

      Changes are saved.

      Actual Results

      No user's can edit this page, the following error is thrown in the browser:
      Unable to communicate with server. Saving is not possible at the moment.

      And this error is seen in the logs:

      2019-11-12 16:15:22,034 ERROR [https-jsse-nio2-8443-exec-2] [atlassian.confluence.event.ConfluenceEventDispatcher] run There was an exception thrown trying to dispatch event [com.atlassian.confluence.event.events.content.page.PageUpdateEvent@7298a378[originalPage=page: page created by dponzio v.1 (1343565),updateTrigger=EDIT_PAGE,page=page: page created by dponzio v.2 (1343558),suppressNotifications=false,timestamp=1573596922031]] from the invoker [SingleParameterMethodListenerInvoker{method=public void com.atlassian.confluence.plugins.slack.spacetochannel.listener.ConfluenceEventListener.pageUpdateEvent(com.atlassian.confluence.event.events.content.page.PageUpdateEvent), listener=com.atlassian.confluence.plugins.slack.spacetochannel.listener.ConfluenceEventListener@1cc9a7be} (timed)]
       -- referer: https://connietesting.com:8443/pages/editpage.action?pageId=1343558 | url: /rest/api/content/1343558 | traceId: 701d204ad20c0e2d | userName: admin
      java.lang.RuntimeException: No user exists with the user key 4028d6e46e5c22ee016e6160a2f70004. Listener: com.atlassian.confluence.plugins.slack.spacetochannel.listener.ConfluenceEventListener event: com.atlassian.confluence.event.events.content.page.PageUpdateEvent
      

      Workaround

      Disable the Confluencer Server for Slack plugin, or downgrade to version 1.1.12

            Assignee:
            Unassigned
            Reporter:
            Daniel Ponzio
            Votes:
            39 Vote for this issue
            Watchers:
            39 Start watching this issue

              Created:
              Updated: