Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-26672

A value equal to 0 is meaningful within the context of the AICC HACP Mastery Score business logic

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.11, 2.0.2
    • Fix Version/s: 2.0.3
    • Component/s: SCORM
    • Labels:
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      On making a deep analysis on a significant (for us ) number of records about an unexpected SCO status found in the mdl_scorm_scoes_track of a medium-sized Moodle installation with plenty of AICC HACP based packages, we found a flaw in the business logic related with the evaluation of the status by the Mastery Score mechanism.

      Shortly, the failure is due to a bad, in this case, usage of PHP empty() which excludes 0 from being a valid value.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  5/May/11