For those of you who do not know me yet, I am Rowan. I am contributing to Moodle through Google Highly Open Participative Contest.
I have searched the Moodle Forums, Tracker, and Google and could not find a solution.
Exporting Issues in Gradebook - Moodle 1.8 and 1.9:
When trying to export to xml format in both demo.moodle.org and my own copy of 1.9, I get the following screen:
When the grades are exported, the xml file is empty.
Importing Issues in Gradebook - Moodle 1.8 and 1.9:
I have tried every different combination of variables on the following XML file trying to get it to import correctly.
<results batch="[someuniqueimportnumber]"> <result> <state>['new' or 'regrade']</state> <assignment>[idnumber]</assignment> <student>[studentid]</student> <score>[score]</score> </result> <result> <state>['new' or 'regrade']</state> <assignment>[idnumber]</assignment> <student>[studentid]</student> <score>[score]</score> </result> [...] </results>One I changed Moodle 1.9 to debug mode, I get the following interesting error when I use this xml file:
<state>regrade (The state doesn't matter to get the error)</state>
To view the error screen: HTML Copy
It appears that when it is making the call to the database it is failing to retrieve the idnumber thus we get multiple results matching. (I tried going through the code but could not find the problem, still working on my php skills)
Sarah Quantick has had problems with the CVS import being discussed here: http://moodle.org/mod/forum/discuss.php?d=87159.
I am experiencing similar problems. Most of the time I can only get it to map to the id not any of the other options in Moodle 1.9. When it does successfully map the grades are not updated.
If possible, see if you can reproduce this errors or can tell me what I fail to see!
Thanks for your time,