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
{{ message }}
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
Can we investigate the possibility of preserving the quickmail history in the backup file for restore purposes? There have been several requests (only one with Moodle so far) to see email correspondence via LMS at LSU for legal and other reasons.
The text was updated successfully, but these errors were encountered:
Very cool. If I'm thinking about this correctly, I think this will require specific back and restore hooks at the module level, but ultimately, doable. I've been interested in doing this sort of thing in Moodle, and I think Quickmail is a great first candidate.
I got quickmail email logs backup and restorable, but I've discovered some interesting caveats in the restore process...
There's no User data setting for blocks. Quickmail can define its own backup settings which would be useful for backing up alternate emails, drafts, and such. I think this is the route we should take.
I actually discovered a very deep restore enrollment bug which does not assign the roles correctly after a restore: https://github.com/lsuits/moodle/blob/master/backup/moodle2/restore_course_task.class.php#L70. It attempts to create a role assignment to user enrollments that do not exist yet, (line 74). This is a significant problem because it actually enrols the users without the role assignment. It works fine for manual enrollments, but fails for UES.
Ging back to 1, though, I think a couple of settings would be nice, like:
An option to restore history (enabled default)
An option to clear out existing history upon restore (disabled default)
Can we investigate the possibility of preserving the quickmail history in the backup file for restore purposes? There have been several requests (only one with Moodle so far) to see email correspondence via LMS at LSU for legal and other reasons.
The text was updated successfully, but these errors were encountered: