EU e-privacy directive system plugin cause the PDF doc to load before Fabrik system plugin has run.
In Joomla! administration I checked Plug-ins (Extensions Plugin Manager Edit), and for 'System - fabrik' its ordering is below 'System - EU e-Privacy Directive': when I disable this last one, PDF Fabrik button works. If I try to change ordering and save, it keeps old ordering anyway, it refuses to change, so I have to disable privacy plug-in in order to get PDF.
cheesegrits replied the topic: EU e-privacy directive and PDF output from Fabrik
I'm the lead Fabrik dev.
I loaded the EU Privacy extension, and the problem I'm seeing is slightly different to what pietro is seeing, but still prevents PDF documents being rendered. Well, any doc type other than HTML.
The problem is that the __construct() method for the eprivacy system plugin is calling JFactory::getDocument(), before J!'s routing has completed, so the 'format' input hasn't been set (happens in parseRoute), so J!'s default doc gets created as the default type (html).
I can't work round this in Fabrik. System plugins shouldn't call JFactory::getDocument() during init.
I would suggest a code change so the plugin either delays creating $this->_doc until first use, or simply don't cache it like that, just fetch it when it's needed.