MantisBT - ATutor
View Issue Details
0003890ATutorTests/Surveyspublic2009-07-23 13:452009-11-07 12:25
greg 
cindy 
normalminoralways
closedfixed 
 
1.6.4 
SVN
0003890: take test with no questions
The following error appears after pressing Begin Test, for a test with no questions. See demo site. Patch 001 for 1.6.3.
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /webserver/content/atutor.ca/docs/atutor/ATutor/tools/take_test.php on line 182
No tags attached.
Issue History
2009-07-23 13:45gregNew Issue
2009-07-23 13:45gregAffects version => SVN
2009-07-24 08:08cindyStatusnew => resolved
2009-07-24 08:08cindyFixed in Version => 1.6.3
2009-07-24 08:08cindyResolutionopen => fixed
2009-07-24 08:08cindyAssigned To => cindy
2009-07-24 08:08cindyNote Added: 0003734
2009-11-05 11:13gregStatusresolved => closed
2009-11-07 12:18gregStatusclosed => resolved
2009-11-07 12:18gregFixed in Version1.6.3 => 1.6.4
2009-11-07 12:25gregStatusresolved => closed

Notes
(0003734)
cindy   
2009-07-24 08:08   
Affected script: mods/_standard/test/sublinks.php

Solution: check if the test has questions in. If no, don't display as sublink at "detail view" on course home page. The fix will be included in Patch 0000001