Hi Everyone,
A question, observation or warning - based on a recent case on my Moodle 3.9.8.
1) Teacher devised an assignment, students submitted, teacher graded.
2) Teacher mistakenly deleted the assignment.
3) Teacher tried restoring from the Recycle bin, but all the submitted assignments and grades are gone (
I have carried out a similar test - using a discussion forum - to the same effect. Yes, I can restore the forum as such from the Recycle bin, but NOT the posts that were there.
In other words, all the user contents get irretrievably lost !
I also noticed that
- the CLI script actually deletes user data such as grades from the database when an activity is deleted / sent to the Recycle bin
- the restored activity has a DIFFERENT id number compared to the deleted original - it would appear that a COPY of the original activity is made when restoring from the bin - with its descriptions and settings , but any user input into these activities obviously cannot be copied..
I wonder if anyone can confirm this behaviour of the Recycle bin with Activities?
If this is how it works, Moodle should show SCREAMING warnings for teachers attempting to delete activities with user data.
It would really be best, however, if the very activities - with the original ID number* and with all the submissions, feedbackss, grades, posts, logs and what not - could be completely restored from the Recycle bin.
* PS. I did a deletion and restore of a forum also using a manager's roie, and this time the restored forum recovered the same ID number, but the post added to it earlier is gone...