assign_feedback_comments error

assign_feedback_comments error

by Matiss Broks -
Number of replies: 0

Hello!
So i have an issue which is appears from students view, in moodle 3.6.3.
Students have submitted tasks in previous semester courses. When they try to open these submissions, and see file what they have submitted with they're grades, in some case they can see them. But with few submissions there appears error:

Argument 1 passed to assign_feedback_comments::rewrite_feedback_comments_urls() must be of the type string, null given, called in [dirroot]/mod/assign/feedback/comments/locallib.php on line 451

× Debug info:
Error code: generalexceptionmessage

× Stack trace:
line 639 of /mod/assign/feedback/comments/locallib.php: TypeError thrown
line 451 of /mod/assign/feedback/comments/locallib.php: call to assign_feedback_comments->rewrite_feedback_comments_urls()
line 600 of /mod/assign/feedback/comments/locallib.php: call to assign_feedback_comments->view()
line 5073 of /mod/assign/locallib.php: call to assign_feedback_comments->is_empty()
line 5180 of /mod/assign/locallib.php: call to assign->get_assign_feedback_status_renderable()
line 5439 of /mod/assign/locallib.php: call to assign->view_student_summary()
line 617 of /mod/assign/locallib.php: call to assign->view_submission_page()
line 55 of /mod/assign/view.php: call to assign->view()

And it is shoving view like this:

assign_feedback_comments_error

So my guess is, that there might be an mistake in assignment creation, or in data that moodle is receiving.

Average of ratings: -