Patch to fix this and explanation will follow in comment. (Makes the issue first to get issue number for the patch....)

CommentFileSizeAuthor
#1 549144.patch5.23 KBfalcon

Comments

falcon’s picture

Status: Active » Fixed
StatusFileSize
new5.23 KB

Attached 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)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.