Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.8.3, 3.9, 3.10
-
Component/s: Quiz
-
Testing Instructions:
-
Affected Branches:MOODLE_310_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
Fixed Branches:MOODLE_38_STABLE, MOODLE_39_STABLE
-
Pull from Repository:
-
Pull 3.8 Branch:
MDL-69253_38 -
Pull 3.8 Diff URL:
-
Pull 3.9 Branch:
MDL-69253_39 -
Pull 3.9 Diff URL:
-
Pull Master Branch:
-
Pull Master Diff URL:
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.