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

Workshop - Error: Could not insert workshop assessment - no default value for the generalcomment

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7, 1.9.2
    • Fix Version/s: 1.9.7
    • Component/s: Workshop
    • Labels:
      None
    • Environment:
    • Database:
      MySQL, PostgreSQL
    • Affected Branches:
      MOODLE_17_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      When trying to assess as teacher a submission to a workshop, an error is found:
      Field 'generalcomment' doesn't have a default value

      INSERT INTO mdl_workshop_assessments ( WORKSHOPID, SUBMISSIONID, USERID, TIMECREATED, TIMEGRADED, TIMEAGREED, GRADE, RESUBMISSION ) VALUES ( 1, 1, 3, 1197759000, 0, 0, -1, 0 )

      Could not insert workshop assessment!

      ?Solution here: http://moodle.org/mod/forum/discuss.php?d=52978&parent=261469

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  25/Nov/09