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

Extension and type of uploaded files are wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.2.2
    • Files API
    • None
    • Moodle 2.2.2, russian
    • MySQL
    • MOODLE_22_STABLE
    • Hide

      1) Choose a file with non-empty extension when you upload a file. I.e. 'file.doc'.
      2) Type a dot and the end of 'Save as' field's content. I.e. 'This is a file.'.
      3) Upload.
      The file's name will be 'This is a filedoc' and the file's type will be unknown (icon with a questyion symbol).

      Show
      1) Choose a file with non-empty extension when you upload a file. I.e. 'file.doc'. 2) Type a dot and the end of 'Save as' field's content. I.e. 'This is a file.'. 3) Upload. The file's name will be 'This is a filedoc' and the file's type will be unknown (icon with a questyion symbol).

      Type '.' (dot) at the end of 'Save as' field uploading files. Then the name of 'file.ext' file with 'saveas.' save-as-field will be 'saveasext' and type of the file will be UNKNOWN.

      Ok if we type dot in a filename we have to set an extension. And if nothing comes after it extension must be empty. But:
      1) What does mean 'Save as' field? Name of FILE or NAME of file? It's difficult for my project's student & teachers...
      2) If it's a file name why 'ext' (WITHOUT DOT) is added to 'saveas' text?

            moodle.com Moodle HQ
            kuraga Alexander Kurakin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.