-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4
-
None
-
MOODLE_19_STABLE
When attempting to install and run WWMQT (see, http://webwork.maa.org/wiki/Moodle_Question_Type_Installation) on Moodle 1.9.2+ the instal appears to work correctly but attempts to add questions result in an error that the script requires courseid or cmid.
A patch has been created by Jerome Charaoui but there have been some issues with it. Once it can be determined that Jerome's fix resolves all issues, the wwmqt svn can be fixed and this will be a working moodle question type again, at least until Moodle 2.0??
Below you will find wwmqt-moodle-195.diff, a diff file created for the purposes of patching the target file, /question/type/webwork/edit_webwork_form.php, as well as a copy of the file that should result from the patch.
Please explore the patch and the replacement file and advise if you can add a question. An example question, order_of_ops.pg is included (you will need to open the pg file with a text editor and then copy the text into the question field when you create the new wwmqt question.)