This issue has been created
There are 4 updates.
 
 
Page Preview Application / cid:jira-generated-image-avatar-cc14d510-9761-404b-a63d-d799f7b65098 PAGEPREV-18 Closed

Preview don't work on XWiki 17.4.2

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-f937f99b-0999-4da0-b70b-6136e1b1e4c5 Josué Tille created this issue on 21/Aug/25 15:42
 
Summary: Preview don't work on XWiki 17.4.2
Issue Type: cid:jira-generated-image-avatar-cc14d510-9761-404b-a63d-d799f7b65098 Bug
Affects Versions: 1.2.8
Assignee: Unassigned
Attachments: image-2025-08-21-15-37-10-427.png, image-2025-08-21-15-37-17-335.png
Created: 21/Aug/25 15:42
Priority: cid:jira-generated-image-static-major-2fd27317-49dc-47a6-b8fd-e1cd973da27b Major
Reporter: Josué Tille
Description:

In XWiki 13.4.5:

44131_image-2025-08-21-15-37-10-427.png

In XWiki 17.4.2:
 
44130_image-2025-08-21-15-37-17-335.png
 
After investigating it seem that the issue is related to this line:
https://github.com/xwiki-contrib/application-page-preview/blob/aee617f9391f753e8176d2f07989b928cdea1967/pages/src/main/resources/XWiki/PagePreviewer.xml#L93

Calling page.getRenderedContent(pageContent, page.syntaxId) when the request is with the parameters outputSyntax=plain result to a plain result. Before it returned a HTML content. This change probably come from a XWiki platform bug fix.

 
 

4 updates

 
cid:jira-generated-image-avatar-f937f99b-0999-4da0-b70b-6136e1b1e4c5 Changes by Josué Tille on 21/Aug/25 15:48
 
Fix Version: 1.3
Assignee: Josué Tille
Resolution: Fixed
Status: Open Closed