Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-75898 assignfeedback_editpdf: Add randomness to PDF annotations
The behat step "I draw on the pdf" creates the exact same line every time it is called. This can cause issues in a situation like the following: - Student uploads PDF - Teacher annotates page 1 - Student edits submission, adding another PDF - Teacher annotates page 1 again - When the student looks at their annotated PDF it appears the same as before they added the second PDF (i.e., they don't see extra pages for the second PDF) Exactly why this happens isn't clear, and in practice this probably never happens because the chances of drawing the exact same line twice are almost 0. However, when testing the functionality added in MDL-45580 it was causing issues.
- Loading branch information