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

Page with multiple concurrent edits results in duplicate version numbers, lost content

      Originally reported internally as CONFDEV-22240, which has some discussion on it.

      Steps to reproduce:

      1. User A starts editing a page and makes changes
      2. User B starts editing a page and makes different changes
      3. Both users click "Save" at about the same time, such that the database transactions with the changes are running concurrently.

      Expected behaviour:

      • Assuming the change by user A commits first, user B is sent back to the editor and notified that their changes conflict with changes made by user A. Or, if the changes are compatible, user B's changes are included after user A's.
      • One copy of the previous content is added as a historical version.
      • If the changes do not conflict, then a subsequent historical version is added for user A's changes.

      Actual behaviour:

      • Two copies of the old content are added to the change history in the database, but because they have the same version number only one will ever be shown.
      • User A's change is completely lost. It is not in the change history and is not shown in the content.
      • User A is not notified that their change was lost.

      Workaround:

      • None.

          Form Name

            [CONFSERVER-32286] Page with multiple concurrent edits results in duplicate version numbers, lost content

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2875368 ] New: CONFSERVER Bug Workflow v4 [ 3005009 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2803318 ] New: JAC Bug Workflow v3 [ 2875368 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2736051 ] New: JAC Bug Workflow v2 [ 2803318 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2392415 ] New: JAC Bug Workflow [ 2736051 ]
            Alex Yakovlev (Inactive) made changes -
            Labels Original: affects-server bug-hunt bugfix critical editor loyalty New: affects-server bug-hunt critical editor loyalty
            Alex Yakovlev (Inactive) made changes -
            Labels Original: affects-server bug-hunt bugfix critical editor New: affects-server bug-hunt bugfix critical editor loyalty
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2273878 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2392415 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2228634 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2273878 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2184991 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2228634 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1940291 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2184991 ]

              kpham Khoa Pham
              jbirch Jason Birch (Inactive)
              Affected customers:
              9 This affects my team
              Watchers:
              24 Start watching this issue

                Created:
                Updated:
                Resolved: