This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-166f5c17-2901-4105-ba25-57f06ab03776 XWIKI-23363 Open

Save not responding when pasting an image without having right to upload

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-89fd10dc-9c8a-4b51-bc67-3d291e0a0daa Simon Urli created this issue on 09/Jul/25 12:16
 
Summary: Save not responding when pasting an image without having right to upload
Issue Type: cid:jira-generated-image-avatar-166f5c17-2901-4105-ba25-57f06ab03776 Bug
Affects Versions: 16.10.8
Assignee: Unassigned
Attachments: image-2025-07-09-12-16-11-367.png
Components: CKEditor
Created: 09/Jul/25 12:16
Priority: cid:jira-generated-image-static-major-07ceb687-7434-4a33-8836-ca370f7a05d3 Major
Reporter: Simon Urli
Description:

Reproduction steps:

  • Edit CKEditor.EditSheet first JavaScript object to set:
    var uploadDisabled = true; //element.hasAttribute('data-upload-disabled');
    
  • Start editing a page
  • Drag & drop an image
  • Save the document

Expected result:

  • Saving the page should work properly
  • Maybe the drag & drop should fail help_16.png

Obtained result:

  • Drag & drop is working properly: the image appears in the editor
  • When trying to save the notification "Saving" appears and seems to never finish
  • The following error is displayed in the javascript console:
    _thumb_43845.png
  • After leaving the editor to come back to the image it appears that the page is saved and the image is inserted with a base64 code