-
Bug
-
Resolution: Fixed
-
Major
-
3.4, 3.4.5
-
MOODLE_34_STABLE
-
MOODLE_34_STABLE, MOODLE_35_STABLE
-
MDL-61052-master -
Prerequisites
- A site with a course
- Some students enrolled in the course
- An assignment in the course with online text submissions enabled
Reproduction steps:
- Install the attached document converter plugin (extract the contents to files/converter)
- Enable the "Media Test" converter and ensure it is the only document converter enabled
- As a student go to the assignment and click the "Media" button (the icon looks like a camera):
- Click the "video" tab
- Paste in the following URL: https://www.youtube.com/watch?v=rNFoOHI9iJw
- Press "Insert media"
- Press "Save changes"
- As an admin or teacher in the course browse to the list of submissions for the assignment (but don't click grade on any of them yet)
- tail -f your apache error log
- Press "grade" for the student's submission
- Watch your error log and you will conversions keep getting created but never resolved because the poll method is never called
This seems to have something to do with the VideoJS filter, it adds a unique ID when it converts the text, which I guess makes the conversion logic think it's a brand new submission every time.