Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-42628

QTI Imports Multiple Choice question as T/F if Question text contains the word "True"

    XMLWordPrintable

    Details

    • 19 status:
      Verified
    • Test Plan:
      Hide

      Steps to Reproduce:

      1. Download the XML file attached to this JIRA.
      2. Login to Trunk
      3. Navigate to a course site containing the Tests & Quizzes tool (or add it)
      4. Click the Tests & Quizzes tool.
      5. Click the "Question Pools" tab.
      6. Click "Import Pool"
      7. Choose the attached file to this JIRA.
      8. Click "Import."

      You will observe that the 2nd question (i.e. "Which of the following is true of water?") imported as a True/False question, despite the fact that the question is a multiple choice question containing possible answers in the XML file. 

      As stated in the general description, the culprit is the presence of the word "true" in the question text. If replaced with the word "correct" in the file, the question and possible answers import just fine as a multiple choice question. 

      Show
      Steps to Reproduce: Download the XML file attached to this JIRA. Login to Trunk Navigate to a course site containing the Tests & Quizzes tool (or add it) Click the Tests & Quizzes tool. Click the "Question Pools" tab. Click "Import Pool" Choose the attached file to this JIRA. Click "Import." You will observe that the 2nd question (i.e. "Which of the following is true of water?") imported as a True/False question, despite the fact that the question is a multiple choice question containing possible answers in the XML file.  As stated in the general description, the culprit is the presence of the word "true" in the question text. If replaced with the word "correct" in the file, the question and possible answers import just fine as a multiple choice question. 

      Description

      When importing a QTI version 1.2 compliant XML file that contains multiple choice questions, if the question text contains the word "True" in it, then the question will be imported as a True/False question. See attached Q/A file and testing guide to reproduce.

      Notes:

      • Interestingly, the word "false" being present in a question's text (i.e. Question #1 of the attached Q/A file) does not seem to adversely affect the import of the question.
      • If you modify the word "true" to "correct," save, and then import, the question and its possible answers import just fine. 

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  bergarvi Bernardo Garcia Vila
                  Reporter:
                  jbuckin2 John C Buckingham
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration