rosedu/vmchecker

Subsequent uploads for different assignments re-upload previous file

alexandru-elisei opened this issue · 1 comments

Assume we have two assignments A and B. Steps to reproduce:

  1. Upload file 'test' assignment B. The file will be created with timestamp 0.
  2. Upload a modified version of the file 'test' for assignment A. The file will be created with timestamp 1.
  3. Go to assignment B, click on the 'Trimitere solutii' tab.
  4. Next to the 'Choose File' button will be the name of the submission file, 'test'.
  5. Click 'Upload' and don't choose the file 'test' again.
  6. For assignment B the submission will be the exact same file 'test' previously submitted: timestamp 0, different content than what was uploaded for assignment A (check with diff).

I only have student access to vmchecker, the above steps were what I did for a homework where the exact same archive was required for two assignments and ended up with a newer version of the archive on one assignment and an older version on the other.

ACK. We will investigate.