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

insert_record() produces error during the assessment form definition

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.9.8
    • 1.9.7
    • Workshop
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

      The code in assessments.php - $action == 'insertelements' must produce error because the number of descriptions is one less than the number of grades. The error message is

      ERROR: null value in column "description" violates not-null constraint
      INSERT INTO mdl_workshop_elements ( ID, WORKSHOPID, ELEMENTNO, MAXSCORE ) VALUES ( 136, 38, 3, 5 )

      This is caused by the last grade mapping item which should not be considered as a proper element.

            mudrd8mz David Mudrák (@mudrd8mz)
            mudrd8mz David Mudrák (@mudrd8mz)
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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