• Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.3
    • 2.3
    • Filepicker
    • None
    • Win 7
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • wip-MDL-33391-master
    • Hide

      1. Log in as teacher/admin
      2. Create a page resource
      3. In the editor, click on the "Insert/edit image" icon
      4. Click "Find or upload an image..."
      5. Use the filepicker to upload an image
      6. Make sure the file is inserted only if it has proper extension (jpg, gif, png)
      7. Try to rename non-image file in your OS and add image extension (i.e. rename file.zip -> file.jpg), upload it using filepicker
      8. Make sure it is accepted (although not displayed)
      9. Try to rename image file into something different in your OS (i.e. rename file.jpg -> file.zip), upload it using filepicker
      10. Make sure it is not accepted

      11. Add a file into filemanager
      12. Rename it changing the extension and make sure that icon and file type (in table view mode) reflects the extension

      Show
      1. Log in as teacher/admin 2. Create a page resource 3. In the editor, click on the "Insert/edit image" icon 4. Click "Find or upload an image..." 5. Use the filepicker to upload an image 6. Make sure the file is inserted only if it has proper extension (jpg, gif, png) 7. Try to rename non-image file in your OS and add image extension (i.e. rename file.zip -> file.jpg), upload it using filepicker 8. Make sure it is accepted (although not displayed) 9. Try to rename image file into something different in your OS (i.e. rename file.jpg -> file.zip), upload it using filepicker 10. Make sure it is not accepted 11. Add a file into filemanager 12. Rename it changing the extension and make sure that icon and file type (in table view mode) reflects the extension

      local test site: Moodle 2.3dev (Build: 20120525) - Windows 7 64bits

      When I use the filepicker to upload an image or media file from my computer, in the filepicker window I keep getting the error message

      Image (JPEG) filetype cannot be accepted or Audio file (MP3) filetype cannot be accepted etc.

      Same error message is displayed in Chrome 19.0.1084.52 m; MSIE 9 and Firefox 12.0.

      See also http://moodle.org/mod/forum/discuss.php?d=203528

      Replication steps:

      1. Log in as teacher/admin
      2. Create a page resource
      3. In the editor, click on the "Insert/edit image" icon
      4. Click "Find or upload an image..."
      5. Use the filepicker to upload a media file (MP3, JPG, GIF, PNG)

      The filepicker does not accept the file under Windows 7 under various browsers. It appears to work on Linux.

            marina Marina Glancy
            rezeau Joseph Rézeau
            Aparup Banerjee Aparup Banerjee
            Tim Barker Tim Barker
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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