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

Private files - Google drawings file extension bug

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.3.5, 3.4.2, 3.5
    • Fix Version/s: None
    • Component/s: Repositories
    • Labels:
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE

      Description

      Sites set up with .jpeg as the default save format for Google Drawings stored in Private Files via Google Docs save drawings with the extension ".jpe" instead of ".jpeg". They also download with the same extension (so it doesn't appear to just be an error displaying the filename in the list). See aaashort.jpe in the screenshot:

      To replicate:

      1. Login as admin.
      2. Site must be set up with OAuth2 and have Google drive enabled (in site administration > plugins > repositories > manage repositories).
      3. In site adminisration > plugins > repositories > Google Drive, "Default drawing import format" needs to be set to "jpeg".
      4. Log into the same site as a student.
      5. Open Private files > add > google drive
      6. Log in to a Google account with a Google Drawing stored in Drive
      7. Choose the Drawing file.
      8. Click "Select this file".
      9. See the file in the list, with ".jpe" extension.
      10. Click "Save changs", the filename will remain.
      11. Download the file, it will also still be .jpe extension.

       

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: