Skip to content

Missing content when rendering specific SCORM package with a react build #120

Description

@alexjmpb

Description

When uploading certain SCORM packages generated via Articulate, specific content sections fail to render inside the Open edX SCORM xBlock.

Specifically, in the following SCORM package:

course-for-scorm-testing-scorm2004_4-QSkxZsm2.zip

the "Marks awarded" section is missing in Open edX, whereas the exact same SCORM package renders perfectly in external platforms like Moodle.

Articulate is an authoring platform that provides a SCORM builder tool that allows to create SCORM packages. In articulate I can create SCORM package using a UI and then export these packages as a standard compliant SCORM zip file. The SCORM package contains a React build and a renderer that is connected with the SCORM index page.

The issue appears to occur during the rendering of the minified Articulate "custom module". When rendering the content, a console error appears. Since I do not have access to the unminified source files for the Articulate output, I have not been able to pinpoint the exact trigger inside the custom module, but I have isolated the issue to the Open edX SCORM viewer.

Steps to Reproduce

  1. Upload the provided Articulate SCORM package to a course using the SCORM xBlock.
  2. Publish the course and view it in the LMS / Learning MFE.
  3. Navigate to the section of the SCORM package containing the "Marks awarded" summary.
  4. Observe that the section is missing and check the browser console for rendering errors.
  5. Upload the same package to Moodle and observe that the section renders correctly.

Discovery & Troubleshooting

Given the lack of unminified source files for the Articulate package, I tested multiple points of failure. I have discarded the following as potential causes:

  • Asset serving proxy: The SCORM xBlock serves assets using a proxy. I disabled this proxy and served the files through the default filesystem, but the problem persisted.
  • Minified files size: I verified if the size limits of the minified files were causing rendering cut-offs. This was not the cause.
  • Legacy SCORM xBlock: I tested this against the previous SCORM xBlock developed by RaccoonGang. The legacy block presents the exact same issue.
  • Learning MFE incompatibility: I tested whether the issue was tied to how the xBlock's iframe is embedded inside the frontend-app-learning MFE. The iframe embed logic doesn't appear to be the root cause.
  • SCORM API failure: I thoroughly tested the SCORM API provided by the xBlock and confirmed it is functioning correctly and is not the root cause of this missing content.

Environment

  • Open edX Release: Ulmo
  • SCORM xBlock Version: v19.0.3
  • Deployment: Tutor / overhangio

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status
In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions