teacher responses are not restored when restoring a course

teacher responses are not restored when restoring a course

by Francis Brouns -
Number of replies: 0
We are using Moodle 1.6.3+. When backing up a course that contains assignments for which a teacher has uploaded a file as response, the response is not restored. The responses are in the moddata directory in the zip file, and are extracted to the moodledata temp directory. However the responses are not copied to the moddata directory of the course to which the assignments belongs. All corresponding directories are created, but the file itself is missing.

So, for the original course there is a directory structure like:

moodledata
14
moddata
assignment
25
9
student's file
responses
11
9
teacher's uploaded file

This same directory structure including the student's and teacher's file are in the temp directory.

For the restored course, the whole directory structure is there, only the teacher's uploaded file is missing.

How can I restore the teacher's file?

Kind regards,

Francis Brouns
Average of ratings: -