You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When restoring a course with an Attendance activity from a system with mod_attendance < 2023020106 to a system with that version or newer, the restore fails because a null value is supplied for allowupdatestatus. Suggest leaving the default 0 on this column but making it nullable. Will post a PR -- took a quick look at the code impacts and ended up just adding a COALESCE statement using the column default (0) to the SELECT statements.
The text was updated successfully, but these errors were encountered:
mikehenry1979-bah
pushed a commit
to mikehenry1979-bah/moodle-mod_attendance
that referenced
this issue
Jun 28, 2023
When restoring a course with an Attendance activity from a system with mod_attendance < 2023020106 to a system with that version or newer, the restore fails because a null value is supplied for allowupdatestatus. Suggest leaving the default 0 on this column but making it nullable. Will post a PR -- took a quick look at the code impacts and ended up just adding a COALESCE statement using the column default (0) to the SELECT statements.
The text was updated successfully, but these errors were encountered: