Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-71153

Convert task logs report to a system report

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Waiting for peer review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.0
    • Fix Version/s: None
    • Component/s: Reports, Tasks
    • Labels:
    • Testing Instructions:
      Hide
      1. Run cron (either manually, or wait for it to run) to ensure tasks have executed on a site
      2. Login as admin
      3. Navigate to Server > Tasks > Task logs in site administration
      4. Confirm report has 'View' and 'Download' action icons on each row
      5. Click on the Download icon on the first row
      6. Confirm a log file is downloaded with the individual task content of that row
      7. Confirm clicking on columns sorts them
      8. Confirm you are able to page through the report
      9. Press Filters button
      10. Set the Name filter to Contains:forum
      11. Press Apply
      12. Confirm report is now filtered to match
      13. Set various filters to confirm they work as expected
      14. Select 'Comma separated values (.csv)' in the Download table data as select
      15. Press Download
      16. Confirm filtered data is downloaded
      17. Press Filters button
      18. Press Reset all
      19. Confirm report is now showing all content
      20. Confirm you can toggle between showing "Show all X" vs. "Show 30 per page"

      Automated tests

      $ bin/moodle-docker-compose exec --user www-data webserver php admin/tool/behat/cli/run.php --name="View task logs report and use its filters"
      

      Show
      Run cron (either manually, or wait for it to run) to ensure tasks have executed on a site Login as admin Navigate to Server > Tasks > Task logs in site administration Confirm report has 'View' and 'Download' action icons on each row Click on the Download icon on the first row Confirm a log file is downloaded with the individual task content of that row Confirm clicking on columns sorts them Confirm you are able to page through the report Press Filters button Set the Name filter to Contains: forum Press Apply Confirm report is now filtered to match Set various filters to confirm they work as expected Select 'Comma separated values (.csv)' in the Download table data as select Press Download Confirm filtered data is downloaded Press Filters button Press Reset all Confirm report is now showing all content Confirm you can toggle between showing "Show all X" vs. "Show 30 per page" Automated tests $ bin/moodle-docker-compose exec --user www-data webserver php admin/tool/behat/cli/run.php --name="View task logs report and use its filters"
    • Affected Branches:
      MOODLE_400_STABLE
    • Pull Master Branch:

      Description

      As part of MDL-70343 epic, we will convert the task logs report to a system report defined using Report builder including the following:

      1. Filters
      2. Column callbacks
      3. Actions

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              davidmatamoros David Matamoros
              Reporter:
              pholden Paul Holden
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 weeks
                  2w