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

Import Multiple choice question from 1.9 to 2.3

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.4, 2.3.1, 2.4
    • 2.2.5, 2.3.2
    • Questions
    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • Hide

      1. Import the attached Moodle XML file.

      2. Edit the imported question. Verify that three of the choices have grade 33.33333%, and the other have grade -100%

      Show
      1. Import the attached Moodle XML file. 2. Edit the imported question. Verify that three of the choices have grade 33.33333%, and the other have grade -100%

    Description

      When bring in questions from 1.9 to 2.3.1 Multiple choice questions with multiple answers not all of the answer grade values come in.

      Questions are from Moodle 1.9.18+ (Build: 20120624) being imported to Moodle 2.3.1+ (Build: 20120802)

      The error shows up with restore course backup and import from Moodle XML.

      Settings in exported question:
      Multiple choice question
      Multiple answers allowed
      Choice 1 grade 33.3333%
      Choice 2 grade 33.3333%
      Choice 3 grade 33.3333%
      Choice 4 grade -100%
      Choice 5 grade -100%
      Choice 6 grade -100%

      When imported to 2.3.1 settings:
      Multiple choice question
      Multiple answers allowed
      Choice 1 grade 0%
      Choice 2 grade 0%
      Choice 3 grade 0%
      Choice 4 grade -100%
      Choice 5 grade -100%
      Choice 6 grade -100%

      The -100% on some answers keeps the students from just marking all of the choices to get full credit.

      Additional note: This looks to not be an issue with questions that the correct answers are 25% so it may have something to do with the 33.3333% value.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            churchjw Jeff Church
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Adrian Greeve Adrian Greeve
            Safat Shahin, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10/Sep/12