Attendance Export Format

Attendance Export Format

de către Michael Hughes-
Număr de răspunsuri: 4
Imaginea Core developers Imaginea Particularly helpful Moodlers Imaginea 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?
Media notelor: -
Ca răspuns la Michael Hughes

Re: Attendance Export Format

de către Dan Marsden-
Imaginea Core developers Imaginea Particularly helpful Moodlers Imaginea Peer reviewers Imaginea Plugin developers Imaginea Plugins guardians Imaginea Testers Imaginea 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.
Ca răspuns la Dan Marsden

Re: Attendance Export Format

de către Michael Hughes-
Imaginea Core developers Imaginea Particularly helpful Moodlers Imaginea Plugin developers
We're currently running 3.11.11 (2021082601) on Moodle 3.11.12+ (20230210)
Ca răspuns la Michael Hughes

Re: Attendance Export Format

de către Dan Marsden-
Imaginea Core developers Imaginea Particularly helpful Moodlers Imaginea Peer reviewers Imaginea Plugin developers Imaginea Plugins guardians Imaginea Testers Imaginea 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.