Item14561: GenPDFWeasyPlugin strips any url params when creating pdf

pencil
Priority: Enhancement
Current State: No Action Required
Released In: n/a
Target Release:
Applies To: Extension
Component: GenPDFWeasyPlugin
Branches:
Reported By: LynnwoodBrown
Waiting For: LynnwoodBrown
Last Change By: LynnwoodBrown
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
 
Topic revision: r3 - 08 Dec 2017, LynnwoodBrown
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy