INGInious icon indicating copy to clipboard operation
INGInious copied to clipboard

Re-submit a file task from history

Open ogoletti opened this issue 2 years ago • 1 comments

When I am on an "upload file" task and I load a submission from the history. I have the possibility to download the files I uploaded for that submission but I can't just submit again.

ogoletti avatar Nov 22 '21 09:11 ogoletti

The current implementation was done to avoid the browser to load the whole file(s) if not necessary.

  • Solution 1 (not optimal): include a js that download the file and submit the form. This would just make the current process automatic.
  • Solution 2: include a the reloaded submission id in the form and a trick in the form processing to specify that the files should be fetched in the database.

anthonygego avatar Dec 16 '21 11:12 anthonygego