-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use usage_key instead of block_id as location identifier for sco…
…rm data (#71) * fix: use usage_key instead of block_id as location identifier This is because block_id is maintained across course export/import Both the courses try to access the same data on storage Manipulating data in one course will overwrite the data for the other one, breaking it
- Loading branch information
1 parent
7fd248a
commit 6401bba
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
changelog.d/20240423_122156_danyal.faheem_fix_course_import_duplicate_path.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- [Bugfix] Prevent overwriting of exported course scorm data by imported course. (by @Danyal-Faheem) | ||
- Use usage_key instead of block_id as the location identifier for scorm data as it is unique across course imports. | ||
- This change will not take effect for previously created scorm modules. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters