Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.9.4, 1.9.5
-
Fix Version/s: None
-
Labels:None
-
Environment:HideMoodle 1.9.5+ Build: 20090930 AND Moodle 1.9.4+ Build: 20090204
Windows Server 2003 SP2 Std Edition
IIS 6 (6.0.3790.3959)
PHP 5.2.8.8 (Thread Safe)
Microsoft FastCGI
eAccelerator 0.9.5.3
FreeTDS 5.2.9.9 (Eloy's build)
MS SQL Server 2005 SP2 Std Edition (9.00.1399.00)ShowMoodle 1.9.5+ Build: 20090930 AND Moodle 1.9.4+ Build: 20090204 Windows Server 2003 SP2 Std Edition IIS 6 (6.0.3790.3959) PHP 5.2.8.8 (Thread Safe) Microsoft FastCGI eAccelerator 0.9.5.3 FreeTDS 5.2.9.9 (Eloy's build) MS SQL Server 2005 SP2 Std Edition (9.00.1399.00)
-
Database:Microsoft SQL
-
Affected Branches:MOODLE_19_STABLE
Description
I'm getting invalid values in Grader Report when students attempt a quiz in Moodle AFTER a CSV file has been imported into the gradebook for that quiz.
I can reproduce this problem on my production box (1.9.4+ Build: 20090204) AND on a completely new test instance of Moodle 1.9.5+ (Build: 20090930) with just two users (Admin and Student) and one course. The test course contains just one quiz.
We use eInstruction's Classroom Performance System (CPS) v5.6 to enable students to take a quiz during a classroom lecture. Each student has a response pad or "clicker" that allows him to respond to questions asked verbally by the trainer or on screen. The trainer then saves the results from these quizzes as a .csv file and then imports them into the Moodle gradebook for that course. The grade is displayed correctly in the Gradebook.
The problem starts when a student who failed the CPS quiz has to redo the quiz. This second attempt is done in Moodle after the lecture. The student logs into Moodle, goes to the respective course and then attempts the quiz that has been setup in that course. The problem is that after he submits the quiz attempt this quiz grade does NOT appear in the Gradebook as it should - the Gradebook still displays the result that was imported from the CPS .csv file.
IMPORTANT NOTE: I'm only experiencing this problem when students submit a quiz attempt AFTER grades have been imported into the Gradebook from a CSV file. There isn't a problem when students just have to take the quiz in Moodle and no grade imports have been done.
I have attached a Word document that contains the process that I followed to reproduce the problem. I've added screenshots of the "problem" screens.
I've also attached a text file that contains all the SQL queries that I ran BEFORE AND AFTER I had imported the quiz results from the .csv file and attempted the quiz in Moodle. These contain "snapshots" of some of the gradebook and quiz database tables before and after the .csv file was imported into the Gradebook and before and after the student attempted the quiz in Moodle after the .csv file was imported.
I need Moodle to display the results of the quiz that the student attempts in Moodle AFTER results have been imported into Moodle from a .csv file.
Updated version of PHP to TS - I'm not using NTS because eAccelerator doesn't work with the NTS version of PHP.