Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.4, 2.4.4, 2.4.7, 2.5.3, 2.6
-
MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
-
MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
-
master_
MDL-40223 -
-
Description
When you have a course with SCORM activities and you take a backup of that course and then restore to make a new course with that backup. Some content will not launch in the new course. This appears to be due to the launch field on mdl_scorm being the same value as it is in the initial course.
When I took a look in the DB I found these items share the same launch value in mdl_scorm. I updated the mdl_scorm.launch value to be a unique value. I then went back to the course and went to the SCORM activity and the content launched.
Before upgrade.
Break one of your existing scorm pacakges by modifying the scorm->launch field (scorm table, launch param) - set to an integer that is incorrect (like 999999)
Run upgrade then check to make sure launch param has been updated to something more normal (it may not match the same sco-id as previously but as long as it points to the id of the first launchable sco from the mdl_scorm_scoes table and entering the SCORM as a student after the upgrade still works.
Test of backup/restore.
Create a Course
Add an SCORM activity and upload a SCORM 1.2 content piece
Add 2 or 3 more of the same
Go to the SCORM activity and verifies it launches
Backup the Course
Restore the Course as a new course in the system
Go to the SCORM activity
Content Does not launch
Attachments
Issue Links
- has been marked as being related by
-
MDL-43517 SCORM issues after Backup and Restore
-
- Closed
-
-
MDL-43043 scorm - check launch param after scorm update in 2.4/2.5
-
- Closed
-
- is duplicated by
-
MDL-42064 SCORM modules do not load as popups, stay grey, maybe lose connection
-
- Closed
-
-
MDL-42080 Problems with SCORM after restoring them with a course backup
-
- Closed
-
- will help resolve
-
MDL-37529 SCORM tracking data inaccessible due to incorrect 'scoid' mapping when content structure page is skipped and display package is set to 'New window'
-
- Closed
-