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

Fix existing stale drafts (for CONFSERVER-57458) with an upgrade task


    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 6.0.1, 6.13.11, 7.4.0
    • Editor - Drafts

      When CONFSERVER-57458 was implemented, we did a fix to prevent stale drafts from becoming valid drafts during a content refactoring action (which can be triggered by actions such as page moves). But existing content can still have stale drafts that have had their modification date updated. The scope of this ticket is to try and provide an upgrading task which can identify all invalid data and correct it as well as all needed condition to run that upgrading task.


      • Find all drafts which have version < current version and lastmoddate > current lastmoddate then update the draft's lastmoddate < current lastmoddate
      • Make sure we only run if Collaborative Editing (CE) is off (upgrade task might be not suitable for the CE on case because we can't delay running the upgrading task until we turn off CE)

            Unassigned Unassigned
            dluong Duy Truong Luong
            16 Vote for this issue
            20 Start watching this issue