ls1intum / Artemis

Artemis - Interactive Learning with Automated Feedback
https://docs.artemis.cit.tum.de
MIT License
505 stars 292 forks source link

`Exam Mode`: Error when uploading a pdf in file upload exercises when multiple upload options available #8902

Closed marlon-luca-bu closed 4 months ago

marlon-luca-bu commented 4 months ago

Describe the bug

If png, pdf, zip, jpg are specified as upload options in a file upload exercise in an exam, the pdf upload does not work.

To Reproduce

  1. Create an exam
  2. Create an file upload exercise with the possibility to upload pdf, jpeg, png and zip
  3. Try to upload a pdf
  4. See error

Expected behavior

One should always be able to upload a pdf file

Screenshots

image

Which version of Artemis are you seeing the problem on?

7.3.1

What browsers are you seeing the problem on?

Chrome

Additional context

No response

Relevant log output

No response

coolchock commented 4 months ago

I and @marlon-luca-bu were not able to reproduce this issue, neither locally nor on test servers.