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

Better default when importing numerical questions from Moodle 1.9

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.2, 2.2
    • 2.1.3
    • Questions
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_21_STABLE
    • Hide

      1) In a Moodle 1.9 site, create a course with a quiz and two numerical questions in its question bank.
      question a) A numerical question with no units.
      question b) A numerical question with some units.
      question c) A calculated question with no units.
      question d) A calculated question with some units.

      2) Backup the 1.9 course, and restore into Moodle 2.1+. Verify that:

      • question a) is set to Unit handling: "Units are not used at all. Only the numerical value is graded."
      • question b) is set to Unit handling: "Units are optional. If a unit is entered, it is used to convert the reponse to Unit 1 before grading."
      • similarly for c) and d)

      3) Export the questions from Moodle 1.9 using Moodle XML format. Import into Moodle 2.1+. Verify the same thing as before.

      4) Upgrade the site to Moodle 2.1+. Verify the same thing as before.

      Show
      1) In a Moodle 1.9 site, create a course with a quiz and two numerical questions in its question bank. question a) A numerical question with no units. question b) A numerical question with some units. question c) A calculated question with no units. question d) A calculated question with some units. 2) Backup the 1.9 course, and restore into Moodle 2.1+. Verify that: question a) is set to Unit handling: "Units are not used at all. Only the numerical value is graded." question b) is set to Unit handling: "Units are optional. If a unit is entered, it is used to convert the reponse to Unit 1 before grading." similarly for c) and d) 3) Export the questions from Moodle 1.9 using Moodle XML format. Import into Moodle 2.1+. Verify the same thing as before. 4) Upgrade the site to Moodle 2.1+. Verify the same thing as before.

    Description

      We can look at whether there are any units defined before setting the unit handling setting to a default. This logic is already used on upgrade. We need to make sure it is used on backup and restore.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              timhunt Tim Hunt
              Rajesh Taneja Rajesh Taneja
              Aparup Banerjee Aparup Banerjee
              Ankit Agarwal Ankit Agarwal
              Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Nov/11