There are 3 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-62c42097-3692-4e8c-8523-9c802488fbc1 XWIKI-23103 Open

WYSIWYG image upload fail on XJetty

 
View issue   ยท   Add comment
 

3 updates

 
cid:jira-generated-image-avatar-89831a49-d0bb-4dec-95f2-3c149147f25c Changes by Thomas Mortagne on 11/Apr/25 16:27
 
Fix Version: 17.2.1
Description: To reproduce:

* start a jetty+hsqldb all in one demo package
* edit or create a page with the WYSIWYG
* click on the insert picture icon in the menu bar
* choose the tab upload
* click on browse
* select an image
(for example, the logo-x-200.png image attachment to this issue)
* press the upload button
* click on select
* you see the edit image dialog, just click on insert
* click save

The content does contain an "image", but the uploaded file is broken. It seems to have the expected size, but it's unreadable.

It works just fine with the link tool (choose attachment, and upload), so it's really specific to the WYSIWYG image tool, apparently.


The behavior is also slightly different depending on the browser: when uploading with Firefox the image file is totally broken (impossible to read it), with Chrome we can see half of the expected image.
Attachment: logo-x-200.png