Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-1 Moodle QA testing
  3. MDLQA-9818

Report logs show site log information

    XMLWordPrintable

Details

    • Functional Test
    • Status: Open
    • Minor
    • Original - DO NOT REPORT TEST RESULTS HERE
    • None
    • Libraries, Manager

    Description

      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.
      8. 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()

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: