Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-45733

Discarding a shared draft for a new page does not allow other users to save or discard the changes in the page afterwards

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      Summary

      Scenario

      Two users are editing a newly created page, whereby user A created the page and passed the URL <base-url>/pages/resumedraft.action?draftId=xxxxx&draftShareId=xxxxx to user B.

      Outcome #1

      If user A closes the editor (as the creator of the page draft), user B will not be able to publish the changes or close the editor.

      Outcome #2

      If user B closes the editor, the user gets an error in the top-right corner of the editor that says, "There were errors discarding your draft. An unknown error has occurred. Please check your logs."

      Steps to reproduce

      1. Login as user A in a browser and login as user B in incognito browser.
      2. As user A, create a new page.
      3. Copy paste the link in incognito browser so user B can join the editing session.
      4. Add some text.
      For outcome #1
      1. Get user A to click on 'Close' and 'Discard everyone's changes'.
      2. Afterwards, get user B to try to publish the page.
      For outcome #2:
      1. Get user B to click on 'Close' and 'Discard everyone's changes'.

      Expected Results

      For both outcome #1 and #2, the page should be able to be discarded or saved depending on the user's option.

      Actual Results

      For outcome #1:

      The page just loads, but nothing happens. This is what we see in the browser console:

      For outcome #2:

      We see the following error in the editor:

        1. Outcome 1.png
          Outcome 1.png
          436 kB
        2. Outcome 2.png
          Outcome 2.png
          231 kB

            [CONFSERVER-45733] Discarding a shared draft for a new page does not allow other users to save or discard the changes in the page afterwards

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2901812 ] New: CONFSERVER Bug Workflow v4 [ 3005733 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2798433 ] New: JAC Bug Workflow v3 [ 2901812 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2730025 ] New: JAC Bug Workflow v2 [ 2798433 ]
            Owen made changes -
            Symptom Severity Original: Minor [ 14432 ] New: Severity 3 - Minor [ 15832 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2392306 ] New: JAC Bug Workflow [ 2730025 ]
            Niraj Bhawnani made changes -
            Labels Original: affects-cloud affects-server critical-collab-ux samurai warranty New: affects-cloud affects-server critical-collab-ux warranty
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2273534 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2392306 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2227101 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2273534 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2182346 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2227101 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1952006 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2182346 ]

              nbhawnani Niraj Bhawnani
              azolkefli Athirah Zolkefli
              Affected customers:
              1 This affects my team
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: