moodle-logstore_xapi icon indicating copy to clipboard operation
moodle-logstore_xapi copied to clipboard

Update plugin to use the refactored scorm_scoes_track database tables

Open ijuanfe opened this issue 1 year ago • 1 comments

Hi,

The scorm_scoes_track database table from the mod_scorm plugin was refactored in Moodle 4.3 as documented in this commit link and issue MDL-46279. The refactoring involved splitting the original scorm_scoes_track table into three tables: scorm_attempt, scorm_element, and scorm_scoes_value.

This change affects the plugin in the following locations and requires an update to its logic:

  • admin/tool/log/store/xapi/src/transformer/events/mod_scorm/scoreraw_submitted.php:47
  • admin/tool/log/store/xapi/src/transformer/events/mod_scorm/status_submitted.php:47
  • admin/tool/log/store/xapi/tests/mod_scorm/scoreraw_submitted/existing_scoreraw_submitted/data.json:22
  • admin/tool/log/store/xapi/tests/mod_scorm/status_submitted/existing_status_submitted/data.json:22

Thank you.

ijuanfe avatar Apr 11 '24 21:04 ijuanfe

Thank you for reporting! Getting the plugin ready for 4.3/4.4/4.5 is on our list. But in the meantime, we are happy to review pull requests.

davidpesce avatar Apr 15 '24 18:04 davidpesce