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

Incorrectly parsed uploaded text file with BOM

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.2
    • Fix Version/s: 2.1.7, 2.2.4, 2.3.1
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Jul/12