Forum Discussion
reviewModeIsReadOnly() is not defined
- 3 years ago
For anyone following this topic. This bug has been resolved. The references to the removed reviewModeIsReadOnly() function have been updated to test the global constant REVIEW_MODE_IS_READ_ONLY.
Hi Hazel,
Could I trouble you for an update on this?
You previously defined reviewModeIsReadOnly() in scormdriver/driverOptions.js however at some point recently this function has been removed and as Hamish points out it looks like you intended to replace it with the constant REVIEW_MODE_IS_READ_ONLY but missed a reference to the old method in preloadIntegrity.js.
You won't be able to trigger it on Scorm Cloud becasue it's not possible to replace scorm packages in situ in Scorm Cloud (updating a scorm package always creates a new course identifier, orphaning anyone who was incomplete).
This happens when you update a scorm package in an LMS that lets you update courses insitu such that suspend data from a previous incomplete session (on a previous version of the course) is passed to a new scorm package.
Regards,
Andrew
Hi Andrew! This article might help. Hamish is still working with our technical support engineer, Lianne.
If the article doesn't help, you can also open a case with us so you can share your files privately and one of our technical support engineers can help you.
- HamishDewe-d2844 years agoCommunity Member
Hi Andrew and Hazel,
I’m not really working with technical support as I’m not able to supply the old versions of the package they requested in order to troubleshoot. I’m on the LMS side and do not have access to their content/authoring.
From what I can see though, it really is just a bug thrown by the function referenced not existing.
Thanks,
HamishDisclaimer
The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.
This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business. Providing a safer and more useful place for your human generated data. Specializing in; Security, archiving and compliance. To find out more visit the Mimecast website.
- hazelB4 years agoStaff
Hi Hamish and Andrew! We've logged this as a possible bug and we'll update this thread with more information once we have it.