|
Summary: |
Links on cover page The output of Document#getExternalURL ( footnote ) are generated as localhost in the PDF export cover doesn't match the URL used to access XWiki |
Description: |
While Follow these steps to reproduce:
* configure XWiki to use the Chrome Docker container for generating PDFs (or a remote Chrome instance) * create a custom PDF template , link on and modify the cover page is field to also print: {noformat} $tdoc.externalURL {noformat} * register the created as PDF template in the PDF export administration section * export a localhost one page to PDF using the custom PDF template * check the cover page
*Expected*: the external URL printed in the cover page matches the URL used to access XWiki (same protocol, same domain, same port) . Doesn't apply *Actual*: the external URL printed on the cover page is the URL used by the headless Chrome instance to content link access XWiki, which is different from the URL used by the user to access XWiki . |
|