You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I noticed a couple issues with GetLastError implementation when I was playing around with this library. Although, let me know if this is intentional and I misunderstood the SCORM spec in some way.
First issue is specific to SCORM 1.2:
Call Initialize()
Call SetValue("cmi.core.student_name", "asd") (or any other read only value) -> 403 error as expected
Hi, I noticed a couple issues with GetLastError implementation when I was playing around with this library. Although, let me know if this is intentional and I misunderstood the SCORM spec in some way.
First issue is specific to SCORM 1.2:
I believe this is because there is a check missing for
lastErrorCode != 0
, which 2004 implementation has, here: https://github.com/gabrieldoty/simplify-scorm/blob/master/src/scormAPI.js#L223C16-L223C16Second issue happens in both 1.2 and 2004:
I haven't dug around in the code as to why this happens.
The text was updated successfully, but these errors were encountered: