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

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

XMLWordPrintable

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

      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.

            timhunt Tim Hunt
            orestes Orestes Mas
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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