Details
Description
Using doLMSGetValue("cmi.launch_data"); return always an empty string in moodle 1.8.3 for SCORM 1.2 packages
1.In mod/SCORM files scorm_12*.php (as in scorm_13*) there is this line but it seems that $userdata->datafromlms is never set
'cmi.launch_data':{'defaultvalue':'<?php echo isset($userdata->datafromlms)?$userdata->datafromlms:'' ?>', 'mod':'r', 'writeerror':'403'},
2.I've searched on the db structure and I didn't find a table with a field for datafromlms or launch_data field
3. The package I've used pass the ADL conformance test. this is an extract of the manifest.xml used
<organization identifier="ORG-4F034FDB-9055-7E2F-B820-C3209F45412A" structure="hierarchical">
<title>Demo</title>
<item identifier="ITEM-0605EB90-1C31-6DDC-F3A4-6ACB2C5EBB5B" isvisible="true">
<title>Package di collaudo</title>
<item identifier="ITEM-AE1B3699-E255-120E-04F0-F1321617685D" isvisible="true" identifierref="RES-83D04D3B-7A65-6DCC-1178-69D369848FF1">
<title>Test</title>
<adlcp:datafromlms>LAUNCH DATA</adlcp:datafromlms>
</item>
hi, I've exactly the same problem on Moodle 1.9 + (Build: 20080325)
and no field seems to exist in the db structure.