You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have not been able to reproduce them in development. Recently, a user gave us a hint as to what might be the issue here.
Namely, the user had (as a tutor) used the bulk upload for corrections. This failed because one of the included files exceeded the size limit, but some users still got a (somehow corrupt) correction attached. When they try to display them, the exception is triggered.
We should try to reproduce this in development. Possibly, the bulk_corrections! method in submissions.rb does not properly handle the case of a rollback of one single file in the bulk.
The text was updated successfully, but these errors were encountered:
fosterfarrell9
changed the title
Bulk upload creates corrupt if it encounters a rollback
Bulk upload creates corrupt file attachments if it encounters a rollback
Jun 5, 2023
Occasionally, we are seeing these exceptions in production:
We have not been able to reproduce them in development. Recently, a user gave us a hint as to what might be the issue here.
Namely, the user had (as a tutor) used the bulk upload for corrections. This failed because one of the included files exceeded the size limit, but some users still got a (somehow corrupt) correction attached. When they try to display them, the exception is triggered.
We should try to reproduce this in development. Possibly, the
bulk_corrections!
method insubmissions.rb
does not properly handle the case of a rollback of one single file in the bulk.The text was updated successfully, but these errors were encountered: