numbas / numbas-lti-provider

An LTI tool provider to run Numbas exams
https://docs.numbas.org.uk/lti/en/latest/
Other
11 stars 12 forks source link

Deleting an attempt throws a server error #119

Closed ugoertz closed 3 years ago

ugoertz commented 3 years ago

When deleting an attempt (as an "instructor", using the "Delete" link in the list of attempts), the attempt is deleted from the database, but the send_receipt_on_completion signal method fails because it fails to retrieve the deleted attempt (since the objects manager returns only attempts with deleted == False).

christianp commented 3 years ago

Thanks for reporting this. I ran into it myself today.