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

Aiken question import does not verify that the import file is UTF-8

XMLWordPrintable

    • MOODLE_401_STABLE
    • MOODLE_401_STABLE, MOODLE_402_STABLE
    • MDL-79226-401
    • MDL-79226-master
    • Hide
      1. In a question bank, go to import, under "File format" select "Aiken format" and under "Import questions from file" add the attached 'Chapter 2 Quiz Answer Key.txt' file and try to import by clicking the "Import" button.
      2. Verify a warning "The file you selected does not use UTF-8 character encoding. Aiken format files must use UTF-8." is shown.

      Show
      In a question bank, go to import, under "File format" select "Aiken format" and under "Import questions from file" add the attached 'Chapter 2 Quiz Answer Key.txt' file and try to import by clicking the "Import" button. Verify a warning "The file you selected does not use UTF-8 character encoding. Aiken format files must use UTF-8." is shown.

      Steps to reproduce:

      • Create a text file of multiple choice questions/answers in Aiken format with an answer that has a special character (i.e. á)
      • Import the file into the question bank of a course
      • Edit the question in the UI
      • See that the question was imported but has no answers

      Given that the question_statistics cron task fails on multiple choice questions with no answers, and that it is not possible to create or edit a multiple choice question in the UI with no answers, the importing of questions in Aiken format with special characters that cause the answer to not be imported should also error and not import the question.

            lucaboesch Luca Bösch
            meltonml Michelle Melton
            Tim Hunt Tim Hunt
            Huong Nguyen Huong Nguyen
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 32 minutes
                32m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.