Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-5896

The image handling in the WYSIWYG-editor with GIF images is buggy.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.7, 3.0 M2
    • Fix Version/s: 3.0 M3
    • Component/s: {Unused} Core
    • Labels:
      None
    • Tests:
      Integration
    • Development Priority:
      High
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      The image handling in the WYSIWYG-editor with GIF images is buggy.

      e.g.

      • Create a completely new page (never existing before!!).
      • Click "save & continue"
      • Insert a GIF (picture.gif) via Image -> Insert image dialog.
      • Click "Save & view"

      --> There are now 2 attachments instead of the one expected: picture.gif and picture.png.
      When clicking on picture.png the error "This template does not exist" is displayed.

      Another use case:

      • Open an existing page with a GIF image in the WYSIWYG editor.
      • Resize the image.
      • Click save & view
        --> There is now a picture.png instead of the picture.gif in the attachments!
      • When editing the page again, only the file name (picture.gif) is displayed.
      • But when pressing save&view, there are now 2 images again in the attachments.

      Somehow the WYSIWYG editor does convert between gif and png (why?) and not always cleanup.

      Reproducable in our system and also in the Jetty/HSQLDB.

      It works fine when using only PNG.

        Attachments

          Activity

            People

            • Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              hor Reto Hotz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: