Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-37093

Uploading multiple images with duplicate filename shows incorrectly during editing

    XMLWordPrintable

Details

    Description

      When editing a page and attaching multiple images with the same filename, the editor shows that each unique image will be saved and correctly displayed. Once the page is saved, or Preview is selected, only the last image shows multiple times.

      Steps to reproduce:

      This occurs in programs like Skitch, where you can easily drag and drop duplicate filenames into Confluence. If you drag from Skitch to the Mac OS (say, on your desktop), the OS will rename the file and will not exhibit this behavior since the filename is unique. This only occurs with duplicate filenames.

      1. Create images with duplicate names:

      2. Drag and Drop directly into a Confluence page which is being edited.

      3. Observe that, even though the filenames are the same, the page shows that the unique images will be displayed:

      4. Click on either Preview or Save, and observe that only the last image is displayed multiple times.

      The workaround for this issue is to make sure that all image filenames are unique, but the purpose of this bug is to report that the UI should not show unique images (when, in reality, they will be duplicated when saved).

      Attachments

        1. Preview Screen.png
          Preview Screen.png
          181 kB
        2. Same Filename 1.png
          Same Filename 1.png
          242 kB
        3. Same Filename 2.png
          Same Filename 2.png
          243 kB
        4. Same Filename 3.png
          Same Filename 3.png
          238 kB
        5. Saved.png
          Saved.png
          216 kB

        Activity

          People

            Unassigned Unassigned
            rbal Rick
            Votes:
            7 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated: