Details
-
Type:
Functional Test
-
Status: Passed
-
Priority:
Minor
-
Affects Version/s: Moodle 3.8
-
Fix Version/s: Moodle 3.8
-
Component/s: Administrator, Libraries, Manager
-
Labels:
Description
- Login as admin
- 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
- Go back to profile page and then click Today's logs.
- Make sure the bar chart is generated.
- Ensure data shown is as expected
- In a given course, go to Participants page and click on a user.
- Make sure the chart is generated in the correct period.
- Ensure data shown is as expected
- Edit your config.php and add the following line:
- $CFG->preferlinegraphs = true;
- Visit both report pages and make sure the chart now is displayed on line type.
- 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()