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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 3.0 M3
    • 2.7, 3.0 M2
    • {Unused} Core
    • None
    • Integration
    • High
    • Unknown

    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

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

            Dates

              Created:
              Updated:
              Resolved: