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

Handle duplicate files uploaded through filepicker

    XMLWordPrintable

    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.

        Balsamiq Wireframes

          Attachments

          1. 2011-04-11 12.01.bmml
            1 kB
            Dongsheng Cai
          2. 2011-04-11 12.01.png
            13 kB
            Dongsheng Cai
          3. mdl_26388.jpg
            170 kB
            Michael Blake
          4. picker.png
            23 kB
            Petr Skoda
          5. picker2.png
            307 kB
            Petr Skoda
          6. safari.png
            46 kB
            Eloy Lafuente (stronk7)

            Issue Links

              Activity

                People

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

                  Dates

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