Delete test submission attempt feature

Description

In the TotalScore page, after deploying the patch, instructor will have the ability to delete any of the students' submission.

This feature has been initially created in Texas State University by Zach Thomas a few years ago. I later on improved the feature and fixed some issues. It's been working pretty stable in our production 2.6.2 version.

I've created a patch for trunk at revision 85614 and tested briefly, seems working fine. So when a test submission attempt is deleted, it will also update grade at gradebook if this test is report to gradebook.

Attachments

2

Activity

Show:

Molly Kelsey April 13, 2016 at 8:57 AM

https://trunk-mysql.nightly.sakaiproject.org/portal/
OS X Yosemite v10.10.5
Firefox 45.0.1

Tested, able to delete all submissions. Good to go.

Yuanhua Qu April 10, 2016 at 12:08 AM

Fixed. And made a pull request https://github.com/sakaiproject/sakai/pull/2184

Yuanhua Qu April 9, 2016 at 12:29 PM

Got it. Just remembered that we ran into audio recording question type can't be deleted when we release sakai 10 locally and fixed it from database allowing cascade deletion on this; that was why we didn't see this problem locally. I'll be looking at other approach rather than changing table and will update shortly for the fix. Thanks.

Molly Kelsey April 9, 2016 at 10:53 AM
Edited

That was on trunk last week so the test I used then is gone. I just tried using a single short answer question, was able to delete all submissions. Tried again with a single audio recording question, couldn't delete any.

trunk Mysql server, Firefox 45.0.1

Yuanhua Qu April 8, 2016 at 1:44 PM

I just tested both on https://trunk-mysql.nightly.sakaiproject.org/ and our local instances, using firefox 45.0.1. Seems working fine for me. Couldn't reproduce it.

@Molly Kelsey Could you export the test you used and attach here for me to reproduce the issue? The only thing I could think of might related to question types?

Fixed

Details

Priority

Affects versions

Fix versions

Assignee

Reporter

Created November 30, 2010 at 12:47 PM
Updated March 23, 2022 at 3:03 PM
Resolved April 11, 2016 at 5:27 PM