Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
15.2-rc-1, 14.10.7
-
Unknown
-
N/A
-
N/A
-
Description
It seems that we have a regression on newer versions of XWiki. The Document sheet is not taken into account by the export action, so, for example if you want to export a page that is rendered using a document sheet (in old PDF, RTF, ODT formats) the exported document will not take in consideration the sheet during the rendering of the document.
Steps to reproduce :
- XWiki version : 14.10.13 or 15.7
- Create a simple sheet page (Sandbox.Sheet), put the string "Hello World !" as content
- Open the XWiki home page (Main.WebHome) using the sheet (http://localhost:8080/xwiki/bin/view/Main/?sheet=Sandbox.Sheet), you will notice that in "view" the page is rendered correctly, see screenshot :
- Now try to export the home page in (old) PDF or RTF with the sheet applied (url : http://localhost:8080/xwiki/bin/export/Main/?format=pdf&sheet=Sandbox.Sheet)
Expected result : the home page is exported in PDF and the PDF file contains the content generated by the sheet, in our case it should be "Hello World !". See screenshot from an 9.8.1 instance :
Current result : The home page is exported in PDF but contains the initial content of the home not the one generated by the sheet. See screenshot from a 14.10.13
Note that I did not reproduced the issue on an 11.10.5 xwiki instance.
Attachments
Issue Links
- is related to
-
XWIKI-20716 The URL sheet is applied to a document gathered from the store
- Closed
- relates to
-
XWIKI-21346 The PDF export ignores the sheet specified in the URL query string
- Closed