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

File Uploader: Preview image not change when overwrite with same name

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Step to reproduce:

      1. Use Browser IE 10 on Win10 Or Firefox Or Chrome
      2. Login as a student
      3. Go to Course home page
      4. Open any editor has plugin upload image.
      5. Upload 1 image then save the current post.
      6. Edit current post then upload file another image (different content) with the same name and format.
      7. Then click button Overwrite.
      8. Save image then observe the editor.

      Actual: Add one more the uploaded image

      Expected: The Preview thumbnail of the uploaded image will be changed to the new image

      Please note that If you submit the form, it will still save the 2 files.

      Show
      Step to reproduce: Use Browser IE 10 on Win10 Or Firefox Or Chrome Login as a student Go to Course home page Open any editor has plugin upload image. Upload 1 image then save the current post. Edit current post then upload file another image (different content) with the same name and format. Then click button Overwrite. Save image then observe the editor. Actual : Add one more the uploaded image Expected : The Preview thumbnail of the uploaded image will be changed to the new image Please note that If you submit the form, it will still save the 2 files.
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE
    • Pull from Repository:
    • Pull 3.4 Branch:
    • Pull 3.5 Branch:
    • Pull Master Branch:
      MDL-62037-master

      Description

      When overwrite new image with the same name with last uploaded image, file uploader not change preview to new image

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Sep/18

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h