Item1013: WysywigPlugin requires HTML::Parser but does not ship with it and does not give dependency in Configure

pencil
Priority: Low
Current State: Closed
Released In: 1.0.6
Target Release: patch
Applies To: Engine
Component: WysiwygPlugin
Branches:
Reported By: PascalSchuppli
Waiting For: WillNorris
Last Change By: KennethLavrsen
I believe the dependency is only necessary for the WYSIWYG functionality, but since this is now the default editor, the configure script/page should notify users about the missing HTML::Parser module.

-- PascalSchuppli

=== DEPENDENCIES
==================================================================
--- DEPENDENCIES        (revision 3876)
+++ DEPENDENCIES        (local)
@@ -10,7 +10,7 @@
 Data::Dumper,>=0,cpan,Required, for base Foswiki
 Digest::MD5,>=0,cpan,Optional, may be required for password encryption
 Digest::SHA1,>=0,cpan,Optional, may be required for password encryption
-Encode,>=0,cpan,Optional, may be required for international characters
+Encode,>=2.01,cpan,Optional, may be required for international characters; Required, for WysiwygPlugin
 Encode::compat,>=0,cpan,Optional, may be required for international characters
 Error,>=0.15,cpan,Required, for base Foswiki
 Exporter,>=0,cpan,Required, for base Foswiki
@@ -22,6 +22,8 @@
 FileHandle,>=2.01,cpan,Required, for base Foswiki
 FindBin,>=0,cpan,Optional, required if you want to use the Extensions Installer in configure
 Getopt::Long,>=0,cpan,Optional, may be required for international characters
+HTML::Entities,>=1.25,cpan,Required, for WysiwygPlugin
+HTML::Parser,>=3.28,cpan,Required, for WysiwygPlugin
 I18N::Langinfo,>=0,cpan,Optional, may be required for international characters
 IO::File,>=1.10,perl,Required, for base Foswiki (upload)
 Lingua::EN::Sentence,>=0,cpan,Optional, may be required for generating new language files

i did the easy thing and just added/changed the entries. best would be to !include the DEPENDENCIES from WysiwygPlugin, or something along those lines.

(this is only currently relevant if you wish to create a customised distribution of foswiki which doesn't include all of the standard plugins---which means i'll have to deal with the proper solution at some point :/ )

-- WillNorris - 08 May 2009

ItemTemplate edit

Summary WysywigPlugin requires HTML::Parser but does not ship with it and does not give dependency in Configure
ReportedBy PascalSchuppli
Codebase 1.0.0
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component WysiwygPlugin
Priority Low
CurrentState Closed
WaitingFor WillNorris
Checkins distro:2701a129de17 distro:f9bf96ad9bb3
TargetRelease patch
ReleasedIn 1.0.6
Topic revision: r7 - 22 Jun 2009, KennethLavrsen
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