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

Can't creat XL courses using course generator

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.9.7
    • None
    • General
    • 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

          Activity

            People

              Unassigned Unassigned
              ilyatregubov Ilya Tregubov
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: