Attendance Export Format

Attendance Export Format

by Michael Hughes -
Number of replies: 4
Wužiwarjo-wobraz wo Core developers Wužiwarjo-wobraz wo Particularly helpful Moodlers Wužiwarjo-wobraz wo 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?
Average of ratings: -
In reply to Michael Hughes

Re: Attendance Export Format

by Dan Marsden -
Wužiwarjo-wobraz wo Core developers Wužiwarjo-wobraz wo Particularly helpful Moodlers Wužiwarjo-wobraz wo Peer reviewers Wužiwarjo-wobraz wo Plugin developers Wužiwarjo-wobraz wo Plugins guardians Wužiwarjo-wobraz wo Testers Wužiwarjo-wobraz wo 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.
In reply to Dan Marsden

Re: Attendance Export Format

by Michael Hughes -
Wužiwarjo-wobraz wo Core developers Wužiwarjo-wobraz wo Particularly helpful Moodlers Wužiwarjo-wobraz wo Plugin developers
We're currently running 3.11.11 (2021082601) on Moodle 3.11.12+ (20230210)
In reply to Michael Hughes

Re: Attendance Export Format

by Dan Marsden -
Wužiwarjo-wobraz wo Core developers Wužiwarjo-wobraz wo Particularly helpful Moodlers Wužiwarjo-wobraz wo Peer reviewers Wužiwarjo-wobraz wo Plugin developers Wužiwarjo-wobraz wo Plugins guardians Wužiwarjo-wobraz wo Testers Wužiwarjo-wobraz wo 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.
Average of ratings:Useful (1)