Skip to content

Unable to edit submission feedback

Summary

Editing feedback via an assignment's submission list (using the blue pencil-on-paper icon) or a group's submission list (using the "Feedback" link) opens a strange modal or does nothing at all.

The strange modal: image It seems this modal is opened only for the first submission. It cannot be closed, not even by clicking outside the modal. A refresh is necessary.

In the other cases, where nothing happens at all, the following error is logged:

Uncaught TypeError: ovl is null
    toggleOverlay https://submit.tudelft.nl/js/main.js:25
    onclick https://submit.tudelft.nl/assignment/893/submissions:1
main.js:25:5

Steps to Reproduce

  1. Go to https://submit.tudelft.nl/assignment/893/submissions (OS lab 0 submissions)
  2. Click the pencil-on-paper icon for any submission

Alternatively,

  1. Go to https://submit.tudelft.nl/group/17226 (Group 69's submissions)
  2. Unfold the 1.1 assignment
  3. Click the "Feedback" link

Possible Fix

Don't know.

Logs

When clicking any submission other than the first:

The connection to https://submit.tudelft.nl/socket-endpoint/722/jykoglz2/eventsource was interrupted while the page was loading. eventsource.js:18
downloadable font: GSUB: table overruns end of file (font-family: "Roboto" style:normal weight:400 stretch:100 src index:0) source: https://submit.tudelft.nl/font/Roboto-Thin.ttf
downloadable font: rejected by sanitizer (font-family: "Roboto" style:normal weight:400 stretch:100 src index:0) source: https://submit.tudelft.nl/font/Roboto-Thin.ttf
Uncaught SyntaxError: redeclaration of let overlayStack
    <anonymous> https://submit.tudelft.nl/js/main.js:1
main.js:1:1
Uncaught SyntaxError: redeclaration of let username
    <anonymous> https://submit.tudelft.nl/js/notifications.js:1
notifications.js:1:1
The Notification permission may only be requested from inside a short running user-generated event handler. 2 submissions
Uncaught TypeError: ovl is null
    toggleOverlay https://submit.tudelft.nl/js/main.js:25
    onclick https://submit.tudelft.nl/assignment/893/submissions:1
main.js:25:5
Edited by Luc Everse