Hello there,
I am currently working on a replacement of an old wiki we were using. For the new wiki we decided to use XWiki.
Because the existing Wiki was counting over 700 pages we built a webscraper which build a webhome xml file for every page inside our wiki. That worked perfectly fine and we were able to import every last page to XWiki.
The only problem which occured was, that images inside of those imported pages would not be displayed. After the analysis of the logs we found the following error:
│ 2023-10-19 05:35:12,795 [domain.net/bin/download/Start/WebHome/%2Fbin%2Fdownload%2FMain%2FWebHome%2Fimage-2023101907 │
│ 3506-1.png] WARN c.x.x.p.XWikiPluginManager - downloadAttachment failed for plugin [image]: null │
│ 2023-10-19 05:35:12,795 [domain.net/bin/download/Start/WebHome/%2Fbin%2Fdownload%2FMain%2FWebHome%2Fimage-2023101907 │
│ 3506-1.png] WARN c.x.x.p.XWikiPluginManager - downloadAttachment failed for plugin [zipexplorer]: null
Even after uploading an image manually to those imported pages, the images are shown within the editor mode, but after saving it looks like this:
Also the string „%2Fbin%2Fdownload%2FMain%2FWebHome%2F“ gets prepended to the picture itself.
I searched for a solution in this forum but couldn’t find anything useful regarding this specific error. One forum mentioned to add the following string to the WYSIWYG Editor but it didn’t work either: config[‘xwiki-upload’].isTemporaryAttachmentSupported = false;
Every help is much appreciated! If there is more information needed, just mention it
Best,
ImportIssue23