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

automatic naming of file in convert_image not working

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.5, 2.1.2, 2.2
    • Fix Version/s: 2.0.6, 2.1.3
    • Component/s: Files API
    • Labels:

      Description

      Get an error :

      Unknown exception related to local files (Unsupported mime type)

      When calling convert_image without a new filename. The code should automatically name the new file with the same name as the old file but there is a typo.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  28/Nov/11