Item14561: GenPDFWeasyPlugin strips any url params when creating pdf
Priority: Enhancement
Current State: No Action Required
Released In: n/a
Target Release:
This makes it impossible to export a topic or report as pdf if rendering requires certain
url params. It would be nice if the plugin incorporated any url params in rendering the page prior to generating the pdf version.
--
LynnwoodBrown - 07 Dec 2017
I can't verify this bug. Please try the following on your install:
URLPARAM: %URLPARAM{"foo" default="unset"}%
<a href="%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%?contenttype=application/pdf&foo=bar">gen pdf</a>
--
MichaelDaum - 08 Dec 2017
My mistake. I should have done a very simple test-case such as you provided first. What was happening was that the extra url param "contenttype" was resulting in zero results from a search which I misinterpreted as the other search parameters being lost. Closing this task.
--
LynnwoodBrown - 08 Dec 2017