-
Improvement
-
Resolution: Fixed
-
Minor
-
3.1.2, 3.2, 3.3.3, 3.4, 4.1
-
MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_401_STABLE
-
MOODLE_401_STABLE
-
MDL-56567-master -
I discovered this bug while testing out activity completion with competencies in a course where the ratings do not affect learning plans.
In short, once a teacher/plan manager/admin has rated a competency manually, the competency's status will not be affected by any activity completion anymore.
In order to reproduce the problem:
- Make sure activity completion is activated.
- Set up some competencies in your course (at least 2)
- As a teacher, create an assignment, attach a competency with Complete the competency and check a condition of your choice for activity completion.
- As a student, complete the condition for activity completion and make sure the checkmark appears next to the activity once it is completed.
- As a teacher, check that the student's competency has ben rated with the default value of the competency (this is set up in your framework beforehand). Make sure that an evidence has been created by the activity completion.
- Now, rate the student's competency manually to something different. Check that a evidence shows that the competency has been rated by the teacher.
Here's the fun part:
- Create a new assignment and attach the same competency as before with Complete the competency.
- As the same student as before, complete the activity completion condition.
- As a teacher, check if the rating of the competency has changed. You will see that it did not, but Moodle still created the evidence that tells you it should've. You can rapidly check this by going to the Competency breakdown report.
- You can also reproduce the bug by creating a new assignment, give a manual rating to a new competency beforehand and then make the student complete the activity completion condition. You will see that the status never changes no matter what.
You can reproduce this bug in many ways with many combinations of activity completion conditions. After testing it with forums and other activities, this is the easiest way of doing it. I didn't test it with the Rating a competency also updates the competency in all of the learning plans settings yet. If I have time, I'll post some results later.
- caused a regression
-
MDL-77779 Fatal error when restoring a Moodle 3.11 course with competencies to 4.1
- Closed