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

Handle duplicate files uploaded through filepicker

    Details

    • Testing Instructions:
      Hide

      Hello testers
      This issue needs to test in html editor and file manager.

      HTML Editor
      1. Adding a picture to html editor with name for example: test.jpg
      2. Adding another picture with the same name by using upload/local/recent/private repository plugins, you should see a dialog pop up asking you want to overwrite/rename or cancel, try all options to see if it works as expected.

      File manager, for example in your private file management page
      1. Adding a picture to filemanager with name for example: test.jpg
      2. Adding another picture with the same name using upload/local/recent/private repository plugins, you should see a dialog pop up asking you want to overwrite/rename or cancel, try all options to see if it works as expected.

      Show
      Hello testers This issue needs to test in html editor and file manager. HTML Editor 1. Adding a picture to html editor with name for example: test.jpg 2. Adding another picture with the same name by using upload/local/recent/private repository plugins, you should see a dialog pop up asking you want to overwrite/rename or cancel, try all options to see if it works as expected. File manager, for example in your private file management page 1. Adding a picture to filemanager with name for example: test.jpg 2. Adding another picture with the same name using upload/local/recent/private repository plugins, you should see a dialog pop up asking you want to overwrite/rename or cancel, try all options to see if it works as expected.
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE
    • Pull Master Branch:
      s9_MDL-26388_filepicker_existing_files_master

      Description

      User are not able to:
      1/ delete "uploaded" file
      2/ user can not find out what files were already uploaded
      3/ users can not link again already existing image

      The reason is that there is no way to manage the files that are uploaded to the file area referenced from the text in tinymce editor. Attempts to work around this missing feature (overriding of files, link from forms, etc.) were only creating regressions.

      Possible solution - add a new tab "Used files" to the file picker, this would solve all 3 issues above. I have proposed several different solutions before, but I think this is the best one.

        Gliffy Diagrams

          Attachments

          1. 2011-04-11 12.01.bmml
            1 kB
          2. 2011-04-11 12.01.png
            2011-04-11 12.01.png
            13 kB
          3. mdl_26388.jpg
            mdl_26388.jpg
            170 kB
          4. picker.png
            picker.png
            23 kB
          5. picker2.png
            picker2.png
            307 kB
          6. safari.png
            safari.png
            46 kB

            Issue Links

              Activity

                People

                • Votes:
                  42 Vote for this issue
                  Watchers:
                  19 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    5/May/11