Item10004: GenPDFPrincePlugin Undocumented dependency on File::Path

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: GenPDFPrincePlugin
Branches:
Reported By: PadraigLennon
Waiting For:
Last Change By: PaulHarvey
Undocumented dependency on File::Path

Otherwise it throws the following error:

Undefined subroutine &File::Path::make_path called at /path/to/foswiki/lib/Foswiki/Plugins/GenPDFPrincePlugin.pm line 139.

Apart from that it works like a dream btw smile

-- PadraigLennon - 11 Nov 2010

That's not an undocumented dependency. File::Path is part of core perl, so no extra dependency needs to be listed in DEPENDENCIES. The actual problem is that make_path is too new to be widely spread in perl distributions. It replaces the legacy api mkpath ... which should be used in GenPDFPrincePlugin for backwards compatibility.

Fix released as version 1.31

-- MichaelDaum - 17 Nov 2010

Makes sense to me. Thanks for the explaination

-- PadraigLennon - 17 Nov 2010
 
Topic revision: r5 - 16 Jun 2011, PaulHarvey
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