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

Atto "Manage files" doesn't detect filenames containing #

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Create new label in a course
      2. Next to Label text, press the Insert or edit image button
      3. Press Browse repositories and upload Moodle#.png (or any image with a # in the filename)
      4. Press Save and return to course and confirm image is displayed
      5. Edit label
      6. Next to Label text, press the Manage files button
      7. Confirm the Missing files heading does not appear, listing the uploaded image
      8. Confirm the Unused files heading does not appear, listing the uploaded image
      Show
      Create new label in a course Next to Label text , press the Insert or edit image button Press Browse repositories and upload Moodle#.png (or any image with a # in the filename) Press Save and return to course and confirm image is displayed Edit label Next to Label text , press the Manage files button Confirm the Missing files heading does not appear, listing the uploaded image Confirm the Unused files heading does not appear, listing the uploaded image
    • Affected Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE
    • Pull Master Branch:

      Description

      This seems similar to MDL-47583 which addressed a similar problem with filenames containing accented characters

      The symptoms are the same, in that the dialog doesn't detect filenames that it should, when they contain a # character:

      The uploaded file is listed as being Missing and Unused

      Affects all versions from 3.5 onwards

       

        Attachments

        1. image-2019-07-03-13-57-20-110.png
          image-2019-07-03-13-57-20-110.png
          39 kB
        2. MDL-65297.png
          MDL-65297.png
          46 kB
        3. Moodle#.png
          Moodle#.png
          13 kB

          Issue Links

            Activity

              People

              Assignee:
              pholden Paul Holden
              Reporter:
              pholden Paul Holden
              Peer reviewer:
              Mathew May
              Integrator:
              Sara Arjona (@sarjona)
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                8/Jul/19

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 15 minutes
                  1h 15m