-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
2.3.1
-
MOODLE_23_STABLE
1) core_course_external_testcase::test_create_courses
dml_write_exception: Error writing to database (ORA-01438: value larger than specified precision allowed for this column
|
INSERT INTO u_course (fullname,shortname,idnumber,summary,summaryformat,format,showgrades,newsitems,startdate,numsections,maxbytes,showreports,visible,hiddensections,groupmode,groupmodeforce,defaultgroupingid,enablecompletion,completionstartonenrol,completionnotify,lang,category,timecreated,timemodified,sortorder,visibleold) VALUES (:fullname,:shortname,:idnumber,:summary,:summaryformat,:format,:showgrades,:newsitems,:startdate,:numsections,:maxbytes,:showreports,:visible,:hiddensections,:groupmode,:groupmodeforce,:defaultgroupingid,:enablecompletion,:completionstartonenrol,:completionnotify,:lang,:category,:timecreated,:timemodified,:sortorder,:visibleold) RETURNING id INTO :oracle_id
|
[array (
|
'fullname' => 'Test course 2',
|
'shortname' => 'Testcourse2',
|
'idnumber' => 'testcourse2idnumber',
|
'summary' => 'Description for course 2',
|
'summaryformat' => 0,
|
'format' => 'weeks',
|
'showgrades' => 1,
|
'newsitems' => 3,
|
'startdate' => 32882306400,
|
'numsections' => 4,
|
'maxbytes' => 100000,
|
'showreports' => 1,
|
'visible' => 0,
|
'hiddensections' => 0,
|
'groupmode' => 0,
|
'groupmodeforce' => 0,
|
'defaultgroupingid' => 0,
|
'enablecompletion' => 0,
|
'completionstartonenrol' => 0,
|
'completionnotify' => 1,
|
'lang' => 'en',
|
'category' => 2,
|
'timecreated' => 1342063434,
|
'timemodified' => 1342063434,
|
'sortorder' => 0,
|
'visibleold' => 0,
|
)])
|
|
/server/workspace/moodle/lib/dml/moodle_database.php:410
|
/server/workspace/moodle/lib/dml/oci_native_moodle_database.php:274
|
/server/workspace/moodle/lib/dml/oci_native_moodle_database.php:1208
|
/server/workspace/moodle/lib/dml/oci_native_moodle_database.php:1251
|
/server/workspace/moodle/course/lib.php:3883
|
/server/workspace/moodle/course/externallib.php:567
|
/server/workspace/moodle/course/tests/externallib_test.php:334
|
/server/workspace/moodle/lib/phpunit/classes/advanced_testcase.php:76
|
To re-run:
phpunit core_course_external_testcase course/tests/externallib_test.php
- duplicates
-
MDL-34941 core_course_external_testcase::test_create_courses => start date timestamp is out of range
- Closed