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

Backup and restore recent activity details page is missing most recent task details

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • None
    • 8.4.0, 8.6.0, 8.5.2
    • None

    Description

      Issue Summary

      Backup and Restore recent activity details is not displaying latest activity information from the backend in descending order of "Created On" column if the task count > 100.

      This is reproducible on Data Center: (yes) / (no) : Yes

      Steps to Reproduce

      1. Generate Backup and restore recent activity data/tasks for either space or site. 
      2. Make sure the generated tasks count is greater than 100 (no issues for count < 100).
      3. Reload the page <base-url>/plugins/servlet/backup-and-restore you will notice the most recent backup/restore task is not visible at the top. Match the latest task information from database using below SQL :
        SELECT operation, scope , filename, state, owner, create_time as CREATED_ON
        FROM backup_restore_job_details order by CREATED_ON desc;
        
      4. Sorting does not work for "Created On" column by default but works for other columns (Task, Filename, Status, Responsible).
      Note

      Sorting for "Created On" column gets activated only when first clicked on other columns.

      Expected Results

      The Backup and Restore recent activity summary page must display list of correct task details in descending order of Created On column with latest one at the top.

      Actual Results

      The Backup and Restore recent activity summary page not displaying correct task details and the latest one's are missing.

      The request from the HAR logs shows there is limit=100 while fetching the backup and restore job details from the backend and the  recent one's are missing from the response data :

      Request URL:
      <base-url>/rest/api/backup-restore/jobs?limit=100&fromDate=2023-10-03T09%3A52%3A30.272Z&toDate=2023-10-17T09%3A52%3A30.272Z
      Request Method: GET
      Status Code: 200 OK
      

      Workaround

      Use filters with Type and Action options that shows correct information in descending order of "Created On" column.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              188bae873138 Saurabh
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: