This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-0e40ca96-28c5-4ae0-ab6c-65c1ecb6dc0f XWIKI-23091 Open

Moving an image in editor reuploads it as a new attachment, and sometimes corrupts it

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-be3bc5ed-8c5b-4b3d-a969-66f1e1e16705 Pierre Jeanjean created this issue on 10/Apr/25 14:38
 
Summary: Moving an image in editor reuploads it as a new attachment, and sometimes corrupts it
Issue Type: cid:jira-generated-image-avatar-0e40ca96-28c5-4ae0-ab6c-65c1ecb6dc0f Bug
Affects Versions: 17.2.0
Assignee: Unassigned
Attachments: move-image-2.png
Components: Attachments, CKEditor
Created: 10/Apr/25 14:38
Priority: cid:jira-generated-image-static-major-f1f7c232-60b5-4aad-b29b-fd55709879d8 Major
Reporter: Pierre Jeanjean
Description:

Steps to reproduce:

  • Create a page, with content "Hello World"
  • Upload an image as attachment
  • Add this image to the document at the bottom
  • Move the image to the top using WYSIWYG editor

Expected result:

  • The same image is simply moved at the request position

Actual result:

  • The image is reuploaded as a new version of the attachment

On one occasion, the new version of the attachment ended up corrupted, but I have not been able to reproduce this behavior since.