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 we use MOOSH to restore a course backup with --overwrite option , it does not restore the question bank, it just delete all the questions.
nb: If we use the same command to restore the backup a 2nd time (or on a course with no question bank), it works well.
Expected behaviour
The course-restore --overwrite command must overwrite the question bank.
Steps to reproduce
Export a course backup with a question bank containing at least 2 questions
Modify the questions
Restore the backup with this command: course-restore --overwrite -e course.mbz [COURSE_ID]
The text was updated successfully, but these errors were encountered:
For the record, I just tested the same manipulation directly inside Moodle (Restore the same course backup on the course already containing a question bank), and Moodle worked as expected. The problem really comes from Moosh.
Actual behaviour
When we use MOOSH to restore a course backup with
--overwrite
option , it does not restore the question bank, it just delete all the questions.nb: If we use the same command to restore the backup a 2nd time (or on a course with no question bank), it works well.
Expected behaviour
The
course-restore --overwrite
command must overwrite the question bank.Steps to reproduce
course-restore --overwrite -e course.mbz [COURSE_ID]
The text was updated successfully, but these errors were encountered: