Wrong completion tracking alert banner shows in edit mode
Plugin Version: 4.0.0.8 Beta and 4.0.0.9 RC
Environment: Moodle 4.0.5 and 4.1.1
Problem Summary: Moodle courses with Completion Tracking disabled are showing "You have completion tracking switched on at the course level, but at the individual activity level, no items have tracking enabled, so there is nothing to track. Change in bulk" in Edit Mode, which is wrong. If clicking on Change in Bulk URL, users will be directed to the Course Completion page and make changes.
This issue is observed in Moodle 4.1.1 and 4.0.5 with Tiles Format Plugin 4.0.0.8 Beta and 4.0.0.9RC installed.
How to replicate:
- In moodle, ensure Completion Tracking is enabled in Site Administration.
- Create a new Tiles format course.
- Ensure it has at least 1 activity.
- Ensure its completion tracking is disabled.
- Go to the course page and turn on edit mode. The alert should appear.
Comments (5)
-
-
reporter Hi Mirko,
Thank you! It looks like a promising solution to me. I’m not sure if you want to submit a pull request. It would certainly be a big help to the Tile Format users.
Ben
-
Hi Ben,
ok I have created a pull request
https://bitbucket.org/dw8/moodle-format_tiles/pull-requests/23Mirko
-
repo owner - changed status to resolved
Fixes issue
#148completion warning→ <<cset e6b652c9e6df>>
-
repo owner Thanks Ben for the report and Mirko for the investigation / PR. I have put something in the next release.
- Log in to comment
The Moodle Tiles format plugin does not check if completion tracking '
enablecompletion
' is enabled in the course. The query should be made in the fileThe Git diff is