MantisBT - ATutor
View Issue Details
0003825ATutorTests/Surveyspublic2009-06-15 10:392009-07-21 08:49
cindy 
cindy 
normalminoralways
closedfixed 
1.6.2 
1.6.3 
SVN
0003825: Test release option "Once quiz has been submitted and all questions have been marked" not work
"Release results - Once quiz has been submitted and all questions have been marked" still release the result once the quiz is submitted even though there are likert or open end questions in the quiz which need instructor's mark.

http://www.atutor.ca/view/7/17747/1.html [^]
No tags attached.
Issue History
2009-06-15 10:39cindyNew Issue
2009-06-15 10:39cindyAffects version => SVN
2009-06-15 10:48cindyStatusnew => resolved
2009-06-15 10:48cindyFixed in Version => 1.6.3
2009-06-15 10:48cindyResolutionopen => fixed
2009-06-15 10:48cindyAssigned To => cindy
2009-06-15 10:48cindyNote Added: 0003622
2009-06-15 11:52cindyStatusresolved => feedback
2009-06-15 11:52cindyResolutionfixed => reopened
2009-06-15 11:52cindyNote Added: 0003623
2009-06-15 11:55cindyStatusfeedback => resolved
2009-06-15 11:55cindyResolutionreopened => fixed
2009-06-15 11:55cindyNote Added: 0003624
2009-07-21 08:49gregStatusresolved => closed

Notes
(0003622)
cindy   
2009-06-15 10:48   
SVN revision: 8577

Affected scripts:
tools/take_test.php
tools/tests/view_results.php
include/classes/testQuestions.class.php
themes/default/test_questions/header.tmpl.php

Solution: The result is released right after submit is because atutor auto mark script always marked "likert" and "open end" questions to 0. The fix is to return null mark value on these question types. Also set tests_results.final_score to null when the test release option is "Once quiz has been submitted and all questions have been marked". If the release option is "Once quiz has been submitted", set final score with "likert" and "open end" questions marked 0.

Also modify test result header template to display "Unmarked" sign on the question result if the mark is null.
(0003623)
cindy   
2009-06-15 11:52   
also need to fix take_test_q.php for test option "one question per page"
(0003624)
cindy   
2009-06-15 11:55   
SVN revision: 8578

one more fixed:
tools/take_test.php