Hi all,
Further to this discussion in the Lesson forum: "Prerequisite Lesson vs Conditional activities", I would like to share my view of the "Require view" condition in the "Activity completion settings" for some activities.
For resources such as Book, Page or activities such as Forum, Glossary, etc. it can make sense that simply "viewing" the resource or activity can count for completion. On the other hand, for any activity that requires the student to answer questions, e.g. Quiz, Lesson, Survey, Questionnaire, etc. simply viewing the activity without participating can not, in my opinion, count for completion.
Those activities can only be considered "completed" when they have been submitted.
Therefore I suggest removing the case FEATURE_COMPLETION_TRACKS_VIEWS: return true; from the mod_supports($feature) function for those activities (Quiz, Lesson, etc.) as I have done for my own case from the Questionnaire plugin.
Actually, to push things a little further, it does not make much sense either for those activities to offer the choice for students to mark them manually as completed. And that option could/should be removed from the settings as well.
Joseph