Skip to content

Commit

Permalink
fix: remove the SCORM XBlock to avoid import errors on older instances
Browse files Browse the repository at this point in the history
  • Loading branch information
kdmccormick and jswope00 committed Feb 6, 2024
1 parent 4104aa8 commit d1e3f88
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion demo-course/course/course/demo_course.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<course advanced_modules="[&quot;edx_sga&quot;, &quot;lti&quot;, &quot;scorm&quot;, &quot;library_content&quot;, &quot;annotatable&quot;, &quot;poll&quot;, &quot;survey&quot;, &quot;ubcpi&quot;, &quot;pdf&quot;, &quot;freetextresponse&quot;, &quot;peer_instruction&quot;]" allow_anonymous="true" allow_anonymous_to_peers="true" cert_html_view_enabled="true" course_image="thumbnail_draft.png" discussions_settings="{&quot;enable_in_context&quot;: true, &quot;enable_graded_units&quot;: false, &quot;unit_level_visibility&quot;: true, &quot;provider_type&quot;: &quot;legacy&quot;, &quot;legacy&quot;: {&quot;group_at_subsection&quot;: false}}" display_name="Open edX Demo Course" enable_subsection_gating="true" graceperiod="" instructor_info="{&quot;instructors&quot;: []}" language="en" learning_info="[]" lti_passports="[&quot;codeboard:codeboard_key_1:codeboard_secret_1234&quot;, &quot;jupyter:811a447706c152588c436ee13addeeb889e7f256033679408737bd5bc4118225:869e9639af7de74929b13ae17ad22e4efb60d9d112143e287589289102e1de00&quot;]" minimum_grade_credit="0.8" self_paced="true" start="2020-01-01T00:00:00Z" teams_configuration="{&quot;topics&quot;: [{&quot;description&quot;: &quot;A place to join groups that would like to socialize&quot;, &quot;name&quot;: &quot;Social&quot;, &quot;id&quot;: &quot;social&quot;}, {&quot;description&quot;: &quot;A place to join groups that want to organize around specific study topics&quot;, &quot;name&quot;: &quot;Study&quot;, &quot;id&quot;: &quot;study&quot;}], &quot;max_team_size&quot;: 10}" user_partitions="[{&quot;id&quot;: 18587404, &quot;name&quot;: &quot;Content Groups&quot;, &quot;scheme&quot;: &quot;cohort&quot;, &quot;description&quot;: &quot;The groups in this configuration can be mapped to cohorts in the Instructor Dashboard.&quot;, &quot;parameters&quot;: {}, &quot;groups&quot;: [{&quot;id&quot;: 1819362822, &quot;name&quot;: &quot;Content Group A&quot;, &quot;version&quot;: 1}, {&quot;id&quot;: 259161138, &quot;name&quot;: &quot;Test&quot;, &quot;version&quot;: 1}, {&quot;id&quot;: 205150518, &quot;name&quot;: &quot;Content Group B&quot;, &quot;version&quot;: 1}], &quot;active&quot;: true, &quot;version&quot;: 3}]">
<course advanced_modules="[&quot;edx_sga&quot;, &quot;lti&quot;, &quot;scorm&quot;, &quot;library_content&quot;, &quot;annotatable&quot;, &quot;poll&quot;, &quot;survey&quot;]" allow_anonymous="true" allow_anonymous_to_peers="true" cert_html_view_enabled="true" course_image="thumbnail_draft.png" discussions_settings="{&quot;enable_in_context&quot;: true, &quot;enable_graded_units&quot;: false, &quot;unit_level_visibility&quot;: true, &quot;provider_type&quot;: &quot;legacy&quot;, &quot;legacy&quot;: {&quot;group_at_subsection&quot;: false}}" display_name="Open edX Demo Course" enable_subsection_gating="true" graceperiod="" instructor_info="{&quot;instructors&quot;: []}" language="en" learning_info="[]" lti_passports="[&quot;codeboard:codeboard_key_1:codeboard_secret_1234&quot;, &quot;jupyter:811a447706c152588c436ee13addeeb889e7f256033679408737bd5bc4118225:869e9639af7de74929b13ae17ad22e4efb60d9d112143e287589289102e1de00&quot;]" minimum_grade_credit="0.8" self_paced="true" start="2020-01-01T00:00:00Z" teams_configuration="{&quot;topics&quot;: [{&quot;description&quot;: &quot;A place to join groups that would like to socialize&quot;, &quot;name&quot;: &quot;Social&quot;, &quot;id&quot;: &quot;social&quot;}, {&quot;description&quot;: &quot;A place to join groups that want to organize around specific study topics&quot;, &quot;name&quot;: &quot;Study&quot;, &quot;id&quot;: &quot;study&quot;}], &quot;max_team_size&quot;: 10}" user_partitions="[{&quot;id&quot;: 18587404, &quot;name&quot;: &quot;Content Groups&quot;, &quot;scheme&quot;: &quot;cohort&quot;, &quot;description&quot;: &quot;The groups in this configuration can be mapped to cohorts in the Instructor Dashboard.&quot;, &quot;parameters&quot;: {}, &quot;groups&quot;: [{&quot;id&quot;: 1819362822, &quot;name&quot;: &quot;Content Group A&quot;, &quot;version&quot;: 1}, {&quot;id&quot;: 259161138, &quot;name&quot;: &quot;Test&quot;, &quot;version&quot;: 1}, {&quot;id&quot;: 205150518, &quot;name&quot;: &quot;Content Group B&quot;, &quot;version&quot;: 1}], &quot;active&quot;: true, &quot;version&quot;: 3}]">
<chapter url_name="30b3fbb840024953b2d4b2e700a53002"/>
<chapter url_name="35283385dd4947619c558f8bb888a031"/>
<chapter url_name="d6780558bc3042c7ab6dd441a06d3478"/>
Expand Down
6 changes: 3 additions & 3 deletions demo-course/course/html/aa1eb42464f14ccd91999ed88e3a154c.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div class="callout">
<h2>Note: Configuration Required</h2>
<p>There are two pieces of configuration that may be required to view the SCORM demonstration. If you choose not to do either, then you may also review the video to see the functionality. </p>
<p>The Scorm X-block is <em>not included by default</em> in this course because it is not installed on some older versions of the Open edX® LMS, and therefore it has the potential to cause an error when importing the course. There are two pieces of configuration that may be required to view the SCORM demonstration. If you choose not to do either, then you may also review the video to see the functionality. </p>
<h5>SCORM XBlock</h5>
<p>The SCORM X-block may not be installed by default on your instance of the Open edX® platform. If it is not installed, then the "Try it!" examples below will not work correctly. If you would like to install the SCORM XBlock, follow the <a href="https://github.com/overhangio/openedx-scorm-xblock#installation" target="_blank" rel="noopener">documentation</a>.</p>
<p>The SCORM X-block may not be installed by default on your instance of the Open edX® platform, especially if you have an instance older than Nutmeg. If it is not installed, then you will not have the option to add a SCORM component in your Advanced components list in Studio. If you would like to install the SCORM XBlock, follow the <a href="https://github.com/overhangio/openedx-scorm-xblock#installation" target="_blank" rel="noopener">documentation</a>.</p>
<h5>SCORM Demonstration Package</h5>
<p>SCORM packages do not migrate with courses, so you will have to upload the SCORM package in studio. The package can be downloaded <a href="https://articulate-heroes.s3.amazonaws.com/uploads/attachment/attachment_url/55098/SL360_LMS_SCORM_2004.zip" target="_blank" rel="noopener">here</a>. Review the video to see how to upload the package into the SCORM XBlock. </p>
<p>If the SCORM X-block is installed, then you will be able to add the SCORM x-block. You will next need to upload the SCORM package in studio. The package can be downloaded <a href="https://articulate-heroes.s3.amazonaws.com/uploads/attachment/attachment_url/55098/SL360_LMS_SCORM_2004.zip" target="_blank" rel="noopener">here</a>. Review the video to see how to upload the package into the SCORM XBlock. </p>
</div>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="try-it">
<h3>Try it!</h3>
<p>The SCORM demonstration below was built in Storyline 360 and demonstrates the progression of a course with a quiz at the end. Keep in mind there are <em>many</em> tools and ways to configure SCORM exercises.</p>
<p>Try adding your SCORM X block and package below. The SCORM demonstration included with this course was built in Storyline 360 and demonstrates the progression of a course with a quiz at the end. Keep in mind there are <em>many</em> tools and ways to configure SCORM exercises.</p>
</div>
6 changes: 1 addition & 5 deletions demo-course/course/policies/demo_course/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@
"library_content",
"annotatable",
"poll",
"survey",
"ubcpi",
"pdf",
"freetextresponse",
"peer_instruction"
"survey"
],
"allow_anonymous": true,
"allow_anonymous_to_peers": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<html url_name="aa1eb42464f14ccd91999ed88e3a154c"/>
<video url_name="32763b34bcb04f1ca20ef01839d8d2da"/>
<html url_name="f7ee293ed3064ff69ed77f31f0a6265c"/>
<scorm url_name="ef64f9269ce14c6ba42075c239a4e434" xblock-family="xblock.v1" display_name="Scorm module" has_score="true" height="680" icon_class="problem" index_page_path="index_lms.html" package_meta="{&#10; &quot;last_updated&quot;: &quot;2023-10-20T19:51:13.466925&quot;,&#10; &quot;name&quot;: &quot;SL360_LMS_SCORM_2004.zip&quot;,&#10; &quot;sha1&quot;: &quot;c5041a861c924351bd42c7077100a665c2e63505&quot;,&#10; &quot;size&quot;: 7778976&#10;}" popup_on_launch="false" scorm_version="SCORM_2004" weight="100.0" width="1000"/>
<html url_name="1e53adefe9494b3ea1ebf7b01a89f56a"/>
<html url_name="c729096cc76441478c6b4aa9346bcbde"/>
<html url_name="4502a078f72c43dfb5a954bb21a6948c"/>
Expand Down
Binary file modified dist/demo-course.tar.gz
Binary file not shown.

0 comments on commit d1e3f88

Please sign in to comment.