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

Moodle LMS Timestamp Issue in Grade Sync

    XMLWordPrintable

Details

    • MOODLE_39_STABLE

    Description

      Based on the few escalations reported by the customers on the Pearson side, we investigated the issues and identified that the grade sync has failed due to the incorrect timestamp picking by the LMS side.

      Given below are the logs for a scenario where during the grade sync, the LMS has taken the time which the grade sync request has submitted from the Pearson end to the Moodle LMS instead of the timestamp in the event payload which is the grade submitted time.

      Event sent time from Socket :2022-10-07 19:28:32.767

      [
      timestamp=2022-10-07T19:26:57.817Z,
      scoreGiven=69.0,
      scoreMaximum=100.0,
      comment=null,
      activityProgress=Completed,
      gradingProgress=FullyGraded,
      userId=xxxxx

      ]

      Current grade in the LMS:

      { "id": "yyyyy", "userId": "xxxxx", "resultScore": 69, "resultMaximum": 100, "timestamp": "2022-10-07T14:28:32-05:00" }

      Moodle LMS Version: 2020061504.05

      Please assist on this issue.

      Note - Though we have selected the affected version as 3.9.17, please consider the above Moodle LMS version. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            Mayantha Mayantha Fernando
            Jake Dallimore, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
            Votes:
            2 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated: