How to reproduce
- Create a QTI 2 test
- Set downloadable flag to true
- enable REST API
- Try downloading the test via RESt API using something like this:
curl -v https://administrator:openolat@[Domain]/restapi/repo/entries/720899/file
- => NOK download empty
The problem is that QTI21AssessmentTestMediaResource.getInputStream() is not implemented. The download only works when triggering the prepare method that adds the zip output stream directly to the http response.