-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.1.5
-
MOODLE_401_STABLE
We are observing unexpected behaviour with completion tracking for file activities:
If the activity is created by drag-dropping a file into a course section, the activity completion requirement is never reviewed - I can only guess that it uses the same default as the mod_form: manual completion
However, Resource Activities created by drag and drop are automatically marked as done as soon as the student opens the file.
After the first student completed this step, I can review the settings for the activity and see: The completion tracking is set to manual completion, just as expected.
Steps to reproduce:
- Create a course.
- Go to Default completion settings and set File to Manual completion.
- Enable edit mode.
- Drag&Drop a PDF file to the course. A File resource will be created.
- Login as a student and go to the course.
- Click on the File resource. It will be opened/downloaded.
- Reload the course page.
Current result
The completion for the file resource is marked as Done (although it's set to Manual).
Expected result
The completion for the file resource is "Mark as done" (because it's Manual so it shouldn't change until the user marks it as done).