-
Bug
-
Resolution: Fixed
-
Minor
-
2.7.1, 2.8
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
MOODLE_29_STABLE
-
wip-
MDL-46960-master -
When an external tool returns a grade for a student, completion status that depends on that grade is not indicated until the student logs out and logs back in again.
To reproduce:
Create a new course.
Add an external tool activity that returns a grade.
Set activity to show as complete when student receives a grade.
Launch the external tool activity as a student and achieve a grade.
Return to the course.
Expected result: The activity should be marked as completed.
Actual result: The activity is marked as not completed.
It appears that this is happening because $SESSION->completioncache isn't being updated when the external tool submits a result back to Moodle. The tool provider submits a request directly to the Moodle server, so it doesn't have access to the user's $SESSION.
- caused a regression
-
MDL-70959 Fix completion_info->get_data() behaviors and cover all combinations
-
- Closed
-
- has a non-specific relationship to
-
MDL-70815 Create a base class for fetching a user's activity completion details
-
- Closed
-
- will help resolve
-
MDL-43331 Completion Cache can be missing updates
-
- Closed
-