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

Decimal places in question grades: "same as for overall grade" does not work - it shows 0 decimal places regardless of overall grade setting

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.2.5, 2.3.2
    • 2.2.3, 2.3.1, 2.4
    • Quiz
    • None
    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • Hide

      1. If you have an old site that was upgraded from 1.9, have a look in the mdl_quiz table, and see if you have any rows where the questiondecimalpoints column contains the incorrect default value of -2.

      If you don't artificially edit a row to have that value.

      2. Run the upgrade.

      3. Verify that that column now has default -1 in the database schema.

      4. Verify all the rows that contained -2 now contain -1 there.

      Show
      1. If you have an old site that was upgraded from 1.9, have a look in the mdl_quiz table, and see if you have any rows where the questiondecimalpoints column contains the incorrect default value of -2. If you don't artificially edit a row to have that value. 2. Run the upgrade. 3. Verify that that column now has default -1 in the database schema. 4. Verify all the rows that contained -2 now contain -1 there.

    Description

      Decimal places in question grades: "same as for overall grade" does not work - it shows 0 decimal places regardless of overall grade setting

      The only way to show 2 decimal places (like the overall grade) is to choose 2 manually from this list. Setting 2 as the default in the site wide settings doesn't override this either - it only changes it for new quizzes.

      Attachments

        1. screenshot-1.jpg
          screenshot-1.jpg
          414 kB
        2. screenshot-2.jpg
          screenshot-2.jpg
          204 kB
        3. screenshot-3.jpg
          screenshot-3.jpg
          156 kB

        Activity

          People

            timhunt Tim Hunt
            jgramp Jess Gramp (old account)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            David Monllaó David Monllaó
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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