Closed (fixed)
Project:
Quiz
Version:
6.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
14 Aug 2009 at 11:23 UTC
Updated:
28 Aug 2009 at 11:40 UTC
Jump to comment: Most recent file
Patch to fix this and explanation will follow in comment. (Makes the issue first to get issue number for the patch....)
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 549144.patch | 5.23 KB | falcon |
Comments
Comment #1
falcon commentedAttached is a patch to fix this issue.
The system wasn't working for two reasons:
The previous version of the ajax_quiz.module were unable to identify the tries array, and sent the string "error" instead. This has been fixed in ajax_quiz.module
When MultichoiceResponses constructor got "error" as a parameter it treated it as an array resulting in a php error. This has been fixed in multichoice.classes.inc.
(The changes has been commited to 4.x-dev)