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

"Make comment or override grade" crashes with certain language settings

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.0.2
    • None
    • Questions
    • Moodle 2.0.2+, MySQL, Catalan locale
    • Any
    • MOODLE_20_STABLE

    Description

      Manually grading any question fails with an "Error writing to database" message if you use the comma "," as a decimal separator.

      The situation may pass unnoticed in installations using languages that have the dot as the decimal separator, but it becomes obvious in other languages like catalan or spanish, where the comma is used. Situation is worsened by the fact that Moodle fills out the box with a default value (the current mark), using the same decimal separator convention as the current language, misleading the user.

      User can work around this bug by always entering numbers using the dot as the decimal separator.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              orestes Orestes Mas
              Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: