we are using XWiki version 15.10.11, running directly on Tomcat without an additional web server in between. We have encountered an issue where images inserted via the WYSIWYG editor sometimes disappear after saving the page.
The images are visible while editing but do not appear after saving.
They are not listed as attachments and do not appear in the XWiki data directory.
The issue occurs regardless of the browser used.
It does not depend on how the image was inserted (drag & drop, upload, copy-paste, etc.).
Has anyone experienced this issue before? Are there any known fixes or debugging steps we can take?
Is it possible that the user’s session expired during the editing session? I’m asking because the attachments uploaded while editing are associated with the user’s session and only saved when the document is saved.
Thank you very much. That is a good hint that confirms a suspicion. I searched for the file names in the logs. Immediately after finding the file name, the following error always appears:
“WARN u.i.x.MyPersistentLoginManager - Login cookie validation hash mismatch! Cookies have been tampered with”
This could indicate an issue with the session. I will try to find out whether the affected users are working on a document for more than 30 minutes without saving beforehand.