Error restoring courses including scorm-packages

Error restoring courses including scorm-packages

by Karin Lam -
Number of replies: 1

I'm setting up a new and upgraded Moodle (2.9.1) site and want to restore all courses from the old Moodle site (2.8.7).
Some of the courses include scorm packages (saved in a repository). When I try to restore them, I always get the following error:


Debug info: Duplicate entry '0-18-27-1-x.start.time' for key 'mdl_scorscoetrac_usescosco_uix'
INSERT INTO mdl_scorm_scoes_track (userid,attempt,element,value,timemodified,scormid,scoid) VALUES(?,?,?,?,?,?,?)
[array (
0 => 0,
1 => '1',
2 => 'x.start.time',
3 => '1360059259',
4 => 1360059259,
5 => 18,
6 => 27,
)]
Error code: dmlwriteexception


Does anybody know what this means and how I could solve my problem? I'm thankful for any advice! 


Average of ratings: -
In reply to Karin Lam

Re: Error restoring courses including scorm-packages

by Dan Marsden -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators

sounds like a possible bug with the scorm backup/restore code - if you could please create a new issue in the Moodle Tracker and attach a copy of a backup file that reproduces this it would be great.