Attendance Export Format

Attendance Export Format

autor Michael Hughes -
Počet odpovedí: 4
Obrázok: Core developers Obrázok: Particularly helpful Moodlers Obrázok: Plugin developers
I'm just looking for a bit of clarification around the Export format for the attendance module.

Our user has taken an export of 1 attendance activity from within a course (there are 2 in the class site), and it's produced a report that shows the sessions from that particular instance of the activity.



In this case there are 4 sessions, and student has 2/2 for each, and we are expecting a total of 4 x Ps, but the PLEA grid reports 6Ps, and 12/12.

There are another 2 sessions in a different attendance activity that this student has been P for, but this seems to be contradictory given the bounds.

So just looking for some clarification if the PLEA rightsection is "global" to the course (this is suggested as the Export page does say "Course attendance"), and if so this then raises a question about where's the exported information for just this activity?
Priemer hodnotení : -
V odpovedi na Michael Hughes

Re: Attendance Export Format

autor Dan Marsden -
Obrázok: Core developers Obrázok: Particularly helpful Moodlers Obrázok: Peer reviewers Obrázok: Plugin developers Obrázok: Plugins guardians Obrázok: Testers Obrázok: Translators
What version of the attendance/version of Moodle are you using? - there are a few different bugs in older versions that might have caused something like what you're seeing in that screenshot.
V odpovedi na Dan Marsden

Re: Attendance Export Format

autor Michael Hughes -
Obrázok: Core developers Obrázok: Particularly helpful Moodlers Obrázok: Plugin developers
We're currently running 3.11.11 (2021082601) on Moodle 3.11.12+ (20230210)
V odpovedi na Michael Hughes

Re: Attendance Export Format

autor Dan Marsden -
Obrázok: Core developers Obrázok: Particularly helpful Moodlers Obrázok: Peer reviewers Obrázok: Plugin developers Obrázok: Plugins guardians Obrázok: Testers Obrázok: Translators
well.. that's probably your problem - that's 6 versions behind the latest version for 3.11 ... the sql query in the upgrade step here might be an interim fix to remove some duplicate entries in the logs table for the users which might be the cause of your issue (but might not.)
https://github.com/danmarsden/moodle-mod_attendance/blob/MOODLE_311_STABLE/db/upgrade.php#LL704C23-L704C33

but you really need to update to using the current version of attendance for your Moodle release.