Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-18925 Moodle 4.5 QA
  3. MDLQA-19199

CLONE - Report logs show site log information

XMLWordPrintable

      Reports logs generate charts

      1. Log in as admin.
      2. Visit your profile or another user profile and then click All logs.
        • Make sure a bar chart has been generated for the 24 hrs period.
        • Ensure data shown is as expected.
      3. Go back to profile page and then click Today's logs.
        • Make sure the bar chart is generated.
        • Ensure data shown is as expected.
      4. In a course, go to Participants page and click on a user then click All logs.
        • Make sure the chart is generated in the correct period.
        • Ensure data shown is as expected.
      5. Go back to the user's course profile page and then click Today's logs.
        • Make sure the bar chart is generated.
        • Ensure data shown is as expected.
      6. Edit your config.php and add the following line:
        • $CFG->preferlinegraphs = true;
      7. Visit both report pages and make sure the chart now is displayed on line type.

      Accessing the report through URL should show an error message

      For this test, please ensure the "debug" setting in Site Administration > Development >Debugging is set to "DEVELOPER"

      1. Try to access report/log/graph.php directly on your browser, you should see an error message.
        This way of generating the chart is deprecated, refer to report_log_print_graph()

        1. image-2024-09-18-22-51-17-361.png
          56 kB
          Fernando Acedo
        2. image-2024-09-18-22-52-09-407.png
          71 kB
          Fernando Acedo
        3. image-2024-09-18-22-59-02-162.png
          68 kB
          Fernando Acedo
        4. image-2024-09-18-23-00-12-022.png
          57 kB
          Fernando Acedo
        5. image-2024-09-18-23-02-38-184.png
          75 kB
          Fernando Acedo
        6. image-2024-09-18-23-04-01-247.png
          62 kB
          Fernando Acedo
        7. image-2024-09-18-23-05-20-992.png
          78 kB
          Fernando Acedo
        8. image-2024-09-18-23-06-07-564.png
          62 kB
          Fernando Acedo
        9. image-2024-09-18-23-09-27-174.png
          24 kB
          Fernando Acedo
        10. image-2024-09-19-08-13-40-439.png
          87 kB
          Fernando Acedo
        11. MDLQA-19199 step 8.png
          83 kB
          Simey Lameze

            facedo Fernando Acedo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.