Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-32999 META: Files UI Stage 2 polishing in master
  3. MDL-33144

Some extensions display the wrong icons in file manager

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3
    • 2.3
    • Filepicker
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • wip-MDL-33144-master
    • Hide

      Test 1:
      1. Login as a teacher.
      2. Navigate to My profile > My private files.
      3. Use file picker or drag and drop to add files with the following extensions:

      • .xls
      • .xlsx
      • .docx
      • .doc
        4. Verify that the icons displayed for these files in the File Manager form element are the correct icons. e.g. .xls file displays the .xls icon and not no icon.
        5. Repeat steps 3 and 4 with any file types mentioned in the comments section of this tracker issue.
        6. Repeat steps 3 and 4 with as many different file types as you can think of.

      Test 2:
      Try to rename the file in filemanager, changing it's extension. Make sure that icon and "File type" (in table view) match the extension.
      Try removing the extension at all. In this case the icon/filetype will be taken from file magic bytes and may be not completely accurate.

      Test 3:
      After you save files in Private files (Test 1), open filepicker (from anywhere) and make sure that icons are displayed correctly in Private files repository in filepicker.

      Show
      Test 1: 1. Login as a teacher. 2. Navigate to My profile > My private files. 3. Use file picker or drag and drop to add files with the following extensions: .xls .xlsx .docx .doc 4. Verify that the icons displayed for these files in the File Manager form element are the correct icons. e.g. .xls file displays the .xls icon and not no icon. 5. Repeat steps 3 and 4 with any file types mentioned in the comments section of this tracker issue. 6. Repeat steps 3 and 4 with as many different file types as you can think of. Test 2: Try to rename the file in filemanager, changing it's extension. Make sure that icon and "File type" (in table view) match the extension. Try removing the extension at all. In this case the icon/filetype will be taken from file magic bytes and may be not completely accurate. Test 3: After you save files in Private files (Test 1), open filepicker (from anywhere) and make sure that icons are displayed correctly in Private files repository in filepicker.

      So far I have found that icons for the following file extensions in file manager are wrong:
      extension | problem
      .xls | No icon/default icon for unknown files.
      .xlsx | Zip icon.
      .docx | Zip icon.
      .doc | .docx icon.

            marina Marina Glancy
            timb Tim Barker
            Dan Poltawski Dan Poltawski
            Rajesh Taneja Rajesh Taneja
            Votes:
            2 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.