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

Ampersand (&) in folder name becomes & with „inline on a course page“ set for „display folder contents“

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.4.3, 3.5
    • 3.4.4, 3.5.1
    • Resource
    • MOODLE_34_STABLE, MOODLE_35_STABLE
    • MOODLE_34_STABLE, MOODLE_35_STABLE
    • MDL-62628-master
    • Hide
      1. Log in as Admin.
      2. Create a Course.
      3. Create a Folder (resource) in the Course.
      4. Name it "Water & Bread“ or similar.
      5. Set "Inline on a course page" for "Display folder contents“
      6. Press "Save and return to course“
        • make sure the name of the folder is displayed as "Water & Bread" and NOT as "Water & Bread"
      Show
      Log in as Admin. Create a Course. Create a Folder (resource) in the Course. Name it "Water & Bread“ or similar. Set "Inline on a course page" for "Display folder contents“ Press "Save and return to course“ make sure the name of the folder is displayed as " Water & Bread " and NOT as " Water & Bread "

    Description

      To reproduce the bug (dates back to at least 2.5.9):

      1. Create a new folder (resource)
      2. Name it „Water & Bread“ or similar
      3. Set „inline on a course page“ for „display folder contents“
      4. Press „save and return to course“
      5. The name will display „Water & Bread“

      I guess the & is somehow replaced twice with &

      A few screen shots to make it clear:

      Attachments

        Activity

          People

            Geshoski Mihail Geshoski
            birdy1976 Martin Vögeli
            Adrian Greeve Adrian Greeve
            Andrew Lyons Andrew Lyons
            Gladys Basiana Gladys Basiana
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9/Jul/18

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m