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

File extension lost when using "Save As" field

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.2
    • Component/s: Files API
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Hi, I was using the "My private Files" function and when uploading a file, I decided to use the Save as field and set the name to "Test File", without the extension. When I clicked upload, the file got saved as "Test File", without the extension, so when you click download the browser doesn't know what type of file is downloading,

      I think it shouldn't matter what you put on the Save as field the file extension should remain unchanged, since sometimes teachers ask for the uploaded files to be named specifically (Ex, StudentCode-Lastname-Firstname.FileExtension ) and if the file extension is lost the teacher wont be able to open it later...

      Will

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                4 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  21/Feb/11