Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
3.9.7
-
None
-
None
-
MOODLE_39_STABLE
Description
I am not able to create XL size course using admin/tool/generator/maketestcourse.php and same for CLI script admin/tool/generator/cli/maketestsite.php they both die with
!!! Error writing to database !!!
|
!! ERROR: numeric field overflow
|
DETAIL: A field with precision 10, scale 5 must round to an absolute value less than 10^5. |
UPDATE mdl_grade_items SET courseid = $1,categoryid = $2,itemname = $3,itemtype = $4,itemmodule = $5,iteminstance = $6,itemnumber = $7,iteminfo = $8,idnumber = $9,calculation = $10,gradetype = $11,grademax = $12,grademin = $13,scaleid = $14,outcomeid = $15,gradepass = $16,multfactor = $17,plusfactor = $18,aggregationcoef = $19,aggregationcoef2 = $20,sortorder = $21,display = $22,decimals = $23,locked = $24,locktime = $25,needsupdate = $26,weightoverride = $27,timecreated = $28,timemodified = $29,hidden = $30 WHERE id=$31 |
|
Attachments
Issue Links
- duplicates
-
MDL-58176 SQL "Out of range" exception in maketestcourse.php
-
- Open
-