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

Creating Forum Using Admin Tools 'Generator' result in an error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 2.4.4
    • Administration
    • MOODLE_24_STABLE
    • Hide

      1. Open '/admin/tool/generator'.
      2. Create a few courses including forum module.
      3. Leave default values for forum options
      4. Click the 'Generate Data' button.
      5. VERIFY no errors are displayed

      Show
      1. Open '/admin/tool/generator'. 2. Create a few courses including forum module. 3. Leave default values for forum options 4. Click the 'Generate Data' button. 5. VERIFY no errors are displayed

      Coding error while generating data use admin tool 'Generator'

      Replication steps:

      1. Open '/admin/tool/generator'.
      2. Create a few courses including forum module.
      3. Leave default values for forum options
      4. Click the 'Generate Data' button.
      5. And you will find the following error:

        Error writing to database
         
        More information about this error
         
        Debug info: Column 'message' cannot be null
        INSERT INTO m24_forum_posts (discussion,parent,userid,created,modified,mailed,subject,message,messageformat,messagetrust,mailnow) VALUES(?,?,?,?,?,?,?,?,?,?,?)
        [array (
        0 => 0,
        1 => 0,
        2 => '7747',
        3 => 1373424007,
        4 => 1373424007,
        5 => 0,
        6 => 'Test discussion',
        7 => NULL,
        8 => 1,
        9 => 0,
        10 => 0,
        )] 
        Error code: dmlwriteexception
        

            Unassigned Unassigned
            gaoce227
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.