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

debugging warning when SCORM debugging turned on and large add_to_log data passed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3, 2.3.1, 2.3.2
    • Fix Version/s: 2.4
    • Component/s: SCORM
    • Labels:

      Description

      mod\scorm\datamodel.php logs all tracking data to the log table if SCORM debugging is enabled which causes a database write error when the tracking data is really long (mdl_log.info = 255 chars whereas mdl_scorm_scoes_track.info = text). This is a problem because (in my experience) it is quite common for SCORM activities to put a whole lot of data in the suspend data element. Whilst the issue only occurs when debugging is enabled it would still be nice if it could be fixed. Maybe doing a substr before logging the data is sufficient?

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Dec/12