Issue Details (XML | Word | Printable)

Key: MDL-16777
Type: Bug Bug
Status: Resolved Resolved
Resolution: Not a bug
Priority: Major Major
Assignee: Tim Hunt
Reporter: Peter Kupfer
Votes: 0
Watchers: 2
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Quiz with calculated questions stops working and marks all answers work suddenly

Created: 03/Oct/08 08:10 AM   Updated: 20/Oct/08 03:23 PM
Component/s: Questions, Quiz
Affects Version/s: 1.9.2
Fix Version/s: None

File Attachments: None
Image Attachments:

1. m1.png
(85 kB)

2. Moodle Error 1.png
(102 kB)

3. Moodle Error 2.png
(224 kB)
Environment: Linux

Database: MySQL
Participants: Peter Kupfer, Pierre Pichet and Tim Hunt
Security Level: None
Resolved date: 20/Oct/08
Affected Branches: MOODLE_19_STABLE


 Description  « Hide
I had a quiz that contains 5 calculated questions. The quiz seemed to be working fine for the first day and a half. Then, at about 5:30 PM on the second day, the quiz suddenly stopped working. Students could get into the quiz and put in an answer, but when they hit Submit under an answer (correct I might add) it gets marked incorrect and a different data set is loaded. When I test it in preview mode the quiz worked fine, but when students tried it didn't work and still didn't work for the next 24 hours until the quiz was closed.

The program also was marking questions wrong but giving student points somehow to the point where some students were receiving 25/10!

I have never seen this error before and I have no idea how to replicate it again. I know that when different student kept trying it, it kept happening so it was not an abberition, but I have not had it happen on other quizzes. During the time the quiz was up, I did edit the question to include more unit choices in the question, but I didn't fundamentally change any of the question and I have edited questions during a quiz before.

I have attached two screen shots that might help. I am willing to work to fix this, but I can't even guess what the problem is.



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Pierre Pichet added a comment - 04/Oct/08 12:29 AM
"I did edit the question to include more unit choices in the question, "
This could be the point.
Did you put the questions in the same category or modify the parameters {a}...
What was the size of your datasets (1, 10 ,,,100) ?
I will try to reproduce your problem.

Pierre Pichet added a comment - 04/Oct/08 04:28 AM
I cannot reproduce your problem
The datasets are not changed when you edit the units in a calculated question unless you defined new datasets or dataset items.
"The program also was marking questions wrong but giving student points somehow to the point where some students were receiving 25/10!"
Where this marking happened ? in the quiz review, in the grader report?

Peter Kupfer added a comment - 09/Oct/08 10:10 AM
The problem seems to actually go deeper. I think that it has nothing to do with the calculated question. Now, even a old quiz that used to have scores no longer has scores. I added another screen shot to show this. I have another teacher who is having a similar problem of Moodle not accepting submission essentially in a quiz with just TF and MC questions. Should I re-install the quiz module to Moodle or something like that?

Please help!


Tim Hunt added a comment - 20/Oct/08 03:23 PM
This is http://moodle.org/mod/forum/discuss.php?d=107927, which turned out to be caused by corrupt tables.