- π¨π¦Canada Liam McDermott
Just a datapoint: a client has given us a file exported from Chameleon Creator, which places everything in the SCORM file in a sub-directory.
Also, bumping version as this issue is still relevant in 3.x
Observed Behavior:
When uploading a SCORM package to a new activity, I observe an error
Scorm package is wrong. Missing the Imsmanifest File.
despite the Imsmanifest being present. In the filesystem, the SCORM package is being extracted at public://opigno_scorm_extracted/scorm_[DRUPAL FILE ID]/[SCORM PACKAGE NAME]
, but the Opigno code expects it to be at public://opigno_scorm_extracted/scorm_[DRUPAL FILE ID]/
.
This seems to be occuring due to the extracted directory path being hardcoded in a way that is inconsistent with how the packages are being extracted.
The opigno_scorm module has at least two occurrences:
The opigno_module module also has at least two occurrences:
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Just a datapoint: a client has given us a file exported from Chameleon Creator, which places everything in the SCORM file in a sub-directory.
Also, bumping version as this issue is still relevant in 3.x