cmi.progress_measure is not _validCMIDataPath in API2004

Created on 11 July 2025, 8 days ago

Problem/Motivation

For SCORM schema 2004 it is possible to track progress by cmi.progress_measure
But in module, this cmi path is not registered.
it could be added via hook_opigno_scorm_register_cmi_paths, but still in JS file api-2004.js, there are cmi data paths hardcoded in validation function "_validCMIDataPath" and do not reflect values in registeredCMIPaths variable

Steps to reproduce

Proposed resolution

Add cmi.progress_measure into keys (as in patch) or use dynamic array for keys

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.2

Component

Code

Created by

🇨🇿Czech Republic Jiskra

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024