When creating a new submission, the user is able to enter titles consisting only of whitespace.
Doing so, a user is not able to click any link to this particular submission in the later "Assessment phase". Links to the submission are rendered as empty a-tags (<a href="..."></a>) making assessment impossible.
This behaviour can be reproduced on https://sandbox.moodledemo.net/
Steps to reproduce
- Login as teacher
- Create a workshop, configure it and move to the "Submission phase"
- Login as student1
- Access the workshop
- Create a submission with a title consisting only of whitespace (eg. one space character)
- Login as teacher
- Access the workshop
- Allocate Submissions (student2 reviews student1)
- Move to the "Assessment phase"
- Login as student2
- Access the workshop
- Try to grade the submission from student 1
Expected Result
Student2 is able to click the submission.
Actual Result
Student2 is not able to click the submission. The link is not visible.