When I Backup a course , then restore some questions aren't there

When I Backup a course , then restore some questions aren't there

eric eric b. - દ્વારા
Number of replies: 1
When Backing up and then restoring a course, i've noticed that the renderedmatch questions dont have any answers or subquestions, and hence are useless.  Also essay questions say they don't work('Error: Missing question options!') until you click to edit, then save changes, then they will work.  With the renderedmatch questions here is an example of what is outputted to the .xml file when you backup, notice there are no answers or subquestions.  Anybody have any idea what I could do to fix this...?  Guessing I'll have to change the way the quizzes are backed up and restored so they will include the qtypes?

          <QUESTION>
            <ID>15992</ID>
            <PARENT>0</PARENT>
            <NAME>Question 11 12:56:35 6/14/2006</NAME>
            <QUESTIONTEXT>the question is here</QUESTIONTEXT>
            <QUESTIONTEXTFORMAT>0</QUESTIONTEXTFORMAT>
            <IMAGE></IMAGE>
            <DEFAULTGRADE>1</DEFAULTGRADE>
            <PENALTY>0.1</PENALTY>
            <QTYPE>13</QTYPE>
            <LENGTH>1</LENGTH>
            <STAMP>this is here as well/STAMP>
            <VERSION>1</VERSION>
            <HIDDEN>0</HIDDEN>
          </QUESTION>

In reply to eric eric b.

Re: When I Backup a course , then restore some questions aren't there

eric eric b. - દ્વારા
It's been fixed, sorry for the post!  If anyone wishes to have the fix to allow renderedmatching and essay qtypes to be backed up and restored correctly, ask here or email me and i can send you the corrected code.સ્મીત

-eric.