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

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.3, 2.3.1, 2.4
    • Fix Version/s: 2.2.5, 2.3.2
    • Component/s: Quiz
    • Labels:
      None
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      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

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Sep/12