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

No warning/error message when trying to insert letter grade with more than * characters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.4
    • Fix Version/s: 1.9
    • Component/s: Gradebook
    • Labels:
      None
    • Database:
      PostgreSQL
    • Affected Branches:
      MOODLE_16_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      I was unable to insert some letter grades and noticed the error was caused by:

      INSERTERROR: value too long for type character varying(8)
      INSERT INTO mdl_grade_letter ( ID, COURSEID, LETTER, GRADE_HIGH, GRADE_LOW ) VALUES ( 114, 298, 'Velmi dobre', 79.99, 60 )

      There is no information displayed about the fact the letter grade can be max 8 characters long string.

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            mudrd8mz David Mudrák (@mudrd8mz)
            Tester:
            Nobody
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              3/Mar/08