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

mod_quiz: Fix timecreated is 0 when creating a quiz activity

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.8.3, 3.9, 3.10
    • Fix Version/s: 3.8.5, 3.9.2
    • Component/s: Quiz
    • Labels:

      Description

      When creating a quiz activity, the timecreated field on the mdl_quiz table does not get a timestamp. Instead, it always get a value of 0.

      SELECT id, name, timecreated, timemodified FROM mdl_quiz;
      id: 1
      name: quiz1
      timecreated: 0
      timemodified: 1594382713

      Expected result: The timecreated field should be populated with the correct value/timestamp.

        Attachments

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            jebarvia Joshua Ebarvia
            Peer reviewer:
            Joshua Ebarvia Joshua Ebarvia
            Integrator:
            Andrew Lyons Andrew Lyons
            Tester:
            Janelle Barcega Janelle Barcega
            Participants:
            Component watchers:
            Tim Hunt, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              14/Sep/20

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 25 minutes
                25m