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

Handling of Multiple Seection Questions in Common Cartridges

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: 1.9.7, 2.2, 2.2.1, 2.2.2
    • Fix Version/s: None
    • Component/s: Backup
    • Labels:
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_22_STABLE

      Description

      I imported the IMS Valid Test Data Set Cartridge ccvtd0002v1p12.zip into Moodle. It has an assessment "Pretest". In this assessment Question 6 on Schools of Psychology is a Multiple-Select question. Its respcondition indicates that all answers except the second need to be selected:
      <conditionvar>
      <and>
      <varequal case="Yes" respident="response_1">answer_1</varequal>
      <not>
      <varequal case="Yes" respident="response_1">answer_2</varequal>
      </not>
      <varequal case="Yes" respident="response_1">answer_3</varequal>
      <varequal case="Yes" respident="response_1">answer_4</varequal>
      </and>
      </conditionvar>
      <setvar action="Set" varname="SCORE">100</setvar>
      However in the Moodle preview I always get the answer "Incorrect".
      Editing the quiz in Moodle reveals that Moodle has in fact assigned Grade "None" to all choices.
      Note also that Moodle reports only "Incorrect" where the Cartridge says it should return "I am sorry, that is not correct.".
      Ingo

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: