Gradebook 1.8/1.9 Issues

Gradebook 1.8/1.9 Issues

por Rowan Chakoumakos -
Número de respostas: 4
Hello,

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:
export-xml.png

When the grades are exported, the xml file is empty.

Importing Issues in Gradebook - Moodle 1.8 and 1.9:

XML Import
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:

<results>
<result>
<state>regrade (The state doesn't matter to get the error)</state>
 
</result>
</results>

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)

CVS Import

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,
Rowan


Em resposta a 'Rowan Chakoumakos'

Re: Gradebook 1.9 export and import issues

por Helen Foster -
Foto de Core developers Foto de Documentation writers Foto de Moodle HQ Foto de Particularly helpful Moodlers Foto de Plugin developers Foto de Testers Foto de Translators
Hi Rowan,

Thanks for reporting gradebook issues you have come across. approve I assume they apply only to the new 1.9 gradebook, so I've edited the subject of this forum posting.

Regarding the XML file export, I think that the reason you obtain an empty file is because ID numbers are required in the XML file export. However, the non-clickable checkboxes are confusing and so I have reported the problem in the tracker - MDL12812.

Regarding the CVS import, as I've replied to Sarah, it would be very helpful if someone could report the problem in the tracker. Perhaps you could do so? Please see the tracker documentation for instructions on how to report a bug.

Best wishes and thanks for participating in GHOP. smile
Em resposta a 'Helen Foster'

Re: Gradebook 1.9 export and import issues

por Rowan Chakoumakos -
Hello Helen,

I actually had trouble with these issues on both 1.8.4 and 1.9 gradebook. (I will go back and verify all of them for 1.8.4)

Thanks for reporting the XML file export issue. I have not tried to debug that one yet. I have been mainly working on XML import. Just as a note, the coding is so clean and the PHP comments are extremely useful. It was like reading a children's book! piscar o olho

Yesterday, I prepared various XML files and CVS files to add to the tracker. Today after school, I will report the bug. sorriso
I thought it might of been a bug but I wanted to just check with everyone first to make sure I was not the one at fault.

For the video (issue 23), I have been unable to import CVS or XML file to the
Gradebook in Moodle 1.9, which makes it slightly difficult to create a screencast grande sorriso!

However, I have created an excel workbook that has a template for teachers for them to easily create either CVS or XML format. In both of these, the data is validated, so the teacher can only add the appropriate data. These is especially important when submitting the XML as it has more options that the teacher must set in the XML. I will have this file available for download with the screencast, so teachers can easily create these formats which they may not be familiar with. I could create a tutorial on creating the spreadsheet or using it.

Please let me know what you would like me to do while this bug is being resolved.

Have a great day Helen and Moodlers!

I am more than happy to participate grande sorriso
Rowan
Em resposta a 'Helen Foster'

Re: Gradebook 1.9 export and import issues

por Rowan Chakoumakos -
Helen,

I have added the XML Import problem (Tracker MDL-12839) and CSV Import problem (Tracker MDL-12840)!

sorriso

Thanks,
Rowan