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

First Access and Last Access dates for SCOs are the same in User -> Complete Report

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.5
    • 1.9.5
    • SCORM
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

    Description

      This issue was first posted a while back, but not resolved for the user reports. (MDL-16184)

      The SCORM report uses the scorm_get_sco_runtime function from mod/scorm/locallib.php to get the "Started on" date. It actually queries this value from the database (scorm_scoes_track WHERE element='x.start.time').

      The user report, however, gets it's "First access" value from the scorm_user_complete function in mod/scorm/lib.php. Oddly, this value is first set to the current time and then reset to the timemodified if the current time is greater than the timemodified (which it always would be).

      Attachments

        Issue Links

          Activity

            People

              danmarsden Dan Marsden
              dakota.duff Dakota Duff
              Nobody Nobody
              Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/May/09