Topic not found error on Perception quiz created using QML
I’ve been working on several custom Questionmark Perception quizzes lately. As sometimes happens, it is not possible to use the Authoring Manager’s Question Editor to create the questions, so I created an example question in the Editor that was as close as possible to the one I wanted, then exported it to QML and modified it to get the custom structure that I wanted. Then I duplicated it and wrote the entire quiz in QML.
When I tried out the quiz created by importing these questions, the quiz came up with no problems, but on trying to submit the answers, it gave a “Topic not found” error.
It turns out that you must have a TOPIC attribute stated in the QML or it will error out. I don’t recall this being the case before, but it definitely is the case now.
<QUESTION ID="3084430213002589" DESCRIPTION="01. Question title goes here" TOPIC=topic titlesubtopic title" STATUS="Normal"> <ANSWER QTYPE="FIB">
<QUESTION ID="3084430213002589" DESCRIPTION="01. Question title goes here" STATUS="Normal"> <ANSWER QTYPE="FIB">