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

Question's default grade is not correctly restored from 1.9 backups

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.1.2
    • 2.1.1, 2.2
    • Backup, Questions
    • 2.1.1+, Build: 20110831, PHP Version 5.3.6, MySQL 5.1.57.
    • Any
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_21_STABLE
    • MDL-29270-question-grade
    • Hide

      In the gradebook, I can create a multiplier to fix the grade. In this case, the multiplier is 32/27.

      Show
      In the gradebook, I can create a multiplier to fix the grade. In this case, the multiplier is 32/27.
    • Hide

      Note: the patch already tested by Jean-Michel Vedrine

      In Moodle 2.1, restore a 1.9 backup with description questions and also various question types having default grade value different from 1. Verify that in the restored course description questions still have 0 as default mark and that other questions default mark are not changed to 1.

      Show
      Note: the patch already tested by Jean-Michel Vedrine In Moodle 2.1, restore a 1.9 backup with description questions and also various question types having default grade value different from 1. Verify that in the restored course description questions still have 0 as default mark and that other questions default mark are not changed to 1.

      I designed a quiz that also included some "description" items. The quiz had 27 questions (see Exam1 graphic). Each question was worth one point. Overall, the quiz was worth 100 points.

      In the attachment, you can see that there were 27 questions, and 9 "description" items for a total of 36 quiz items. I am not sure where Moodle is getting the "32". Somehow, it sees that every question was correct, and calculates 27/32 * 100, which is 84.4%

      I saw this problem last week on another quiz, but didn't have time to report it. Now it is an obvious problem in the Moodle grading system.

        1. Exam1.jpg
          Exam1.jpg
          151 kB
        2. Exam2.jpg
          Exam2.jpg
          157 kB
        3. Exam3.jpg
          Exam3.jpg
          94 kB

            mudrd8mz David Mudrák (@mudrd8mz)
            rjerz Rick Jerz
            David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
            Aparup Banerjee Aparup Banerjee
            Michael de Raadt Michael de Raadt
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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