MantisBT - ATutor
View Issue Details
0004058ATutorContentpublic2009-11-28 04:302009-12-01 08:41
greg 
cindy 
normalminoralways
closedfixed 
 
1.6.4 
SVN
0004058: prerequisite bypassed
It is possible for a student to view content in a folder with a prerequisite test that has not been completed.
No tags attached.
Issue History
2009-11-28 04:30gregNew Issue
2009-11-28 04:30gregAffects version => SVN
2009-11-30 03:56gregStatusnew => assigned
2009-11-30 03:56gregAssigned To => cindy
2009-11-30 09:49cindyStatusassigned => resolved
2009-11-30 09:49cindyFixed in Version => 1.6.4
2009-11-30 09:49cindyResolutionopen => fixed
2009-11-30 09:49cindyNote Added: 0003921
2009-12-01 08:41gregStatusresolved => closed

Notes
(0003921)
cindy   
2009-11-30 09:49   
SVN revision: 8977

Solution: The bypass happens when the test has expired. This is fixed as:
1. When the test has expired, display PRETEST_EXPIRED message and not allow student to view the content;
2. Instructors don't need to pass the prerequisite test to view the content, but the PRETEST message is displayed on instructors' page.

Affected scripts:
content.php
include/classes/ContentManager.class.php