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

Backslashes in category names need to be escaped in MoodleXML export

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.8
    • 1.9.10
    • Questions
    • None
    • Any
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

    Description

      Question bank categories with backslashes in their name cause problems when exported in MoodleXML format. The backslashes are not escaped, and thus when the XML file is imported into another course the slashes are interpreted as path delimiters, nesting later parts of the title within earlier parts.

      example: a category called "terms/concepts of psycho/neurolinguistics (T/F questions)" would get imported as four nested categories:
      -terms
      --concepts of psycho
      ---neurolinguistics (T
      ----F questions)

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              drmccloy Daniel McCloy
              Nobody Nobody
              Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                25/Oct/10