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

Incorrectly parsed uploaded text file with BOM

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.2
    • 2.1.7, 2.2.4, 2.3.1
    • Questions
    • MOODLE_22_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Hide

      1. Import the attached file. You should get 5 questions in Russian.
      2. Import any other GIFT files you can find. For example question/format/gift/simpletest/fixtures/questions.gift.txt, and make sure there are no errors.

      Show
      1. Import the attached file. You should get 5 questions in Russian. 2. Import any other GIFT files you can find. For example question/format/gift/simpletest/fixtures/questions.gift.txt, and make sure there are no errors.

    Description

      1. Create txt file with BOM in GIFT format (see pic.1)
      2. Import it to the question bank
      3. See preview (pic.2) and example without BOM (pic.3). It can be seen incorrectly parsed title ::Moodle::

      also http://docs.moodle.org/22/en/GIFT_format#Format_symbols

      Attachments

        Activity

          People

            timhunt Tim Hunt
            kostochkin Konstantin Gorshkov
            Dan Poltawski Dan Poltawski
            Rajesh Taneja Rajesh Taneja
            Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9/Jul/12