Another post to ask people on this forum about changes in the lesson activity But since I started working on the lesson activity, I always wanted to associate lesson's users to be sure that what I do is what the Community wants and even if my posts don't get a lot of answers, I will continue to do so.
So this post is about changing the way lesson code works for Practice lesson. Currently for a practice lesson student's attempt to question aren't saved in the database (well in fact this is not quite true, attempts are saved, but they are deleted later in the code but that doesn't change the problem)
You can verify this easily:
- Create a lesson with "Practice lesson" set to "Yes"
- Login as a student and attempt the lesson
- Repeat previous step for 2 or 3 students
- Connect again as a teacher and go to Report page of the lesson
- You will see "No attempts have been made on this lesson"
Dan Poltawski recently fixed a bug (MDL-20304) that practice lessons with a non zero grade were creating a grade in the gradebook, now practice lessons grades are not appearing in the gradebook.
I think that this free the way for a change: practice lessons should behave exactly like other lesson except the grades are not reported in the gradebook, but internal grades and attempts should be saved exactly like non-practice lessons.
That would have the big advantage that teachers could monitor students progress for practice lessons.
I am unable to see if this change would cause any harm to local customizations or have a negative impact for some lesson users, so please comment ...