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

correct answer and wrong answer both set to zero on lessons true/false question import

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.3, 2.6.5, 2.7.2, 2.8.7, 2.9.1, 3.0
    • Fix Version/s: 2.8.8, 2.9.2
    • Component/s: Lesson
    • Labels:
    • Testing Instructions:
      Hide

      Import the 2 files attached to this issue and verify that each time you end with 2 truefalse questions and the the correct and wrong answers are always in the good place when you edit the question.
      Even if that should have been fixed previously by MDL-49913, verify that scores and jumps are always correct (the correct answer should jump to "next page" and have score set to 1 and the wrong answer should jump to "this page" and have score set to 0.

      Show
      Import the 2 files attached to this issue and verify that each time you end with 2 truefalse questions and the the correct and wrong answers are always in the good place when you edit the question. Even if that should have been fixed previously by MDL-49913 , verify that scores and jumps are always correct (the correct answer should jump to "next page" and have score set to 1 and the wrong answer should jump to "this page" and have score set to 0.
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-44840-master

      Description

      I have in the past successfully exported from a quiz (used both gift and xml), edited the questions in a text editor and then re-imported into a Lessons module. For True/False questions the correct answer should automatically score one point and move to next page, the wrong answer scores a zero and moves to same page. I use this type format for a question:
      The radio popularized sports in the 1920’s.

      {TRUE}

      The correct answer is not always placed in the correct answer box and it also does not give the score as 1, all answers are given a zero.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Sep/15