The final error seem related to https://jira.xwiki.org/browse/XWIKI-23232
Thomas Mortagne on 06/Nov/25 16:29
IMO, the real problem here is the fact that WysiwygEditorScriptService#fromAnnotatedXHTML depends on the session (you don't care about temporary attachment in your use case since there the concept does not make sense in a background thread), and it's probably even a regression cause by XWIKI-18810.
Thomas Mortagne on 06/Nov/25 16:29
IMO, the real problem here is the fact that WysiwygEditorScriptService#fromAnnotatedXHTML depends on the session (you don't care about temporary attachment attachments in your use case since there the concept does not make sense in a background thread), and it's probably even a regression cause caused by XWIKI-18810.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.