Item12374: 'ftp' backend fails due to call to non-existent sub PublishPlugin::Publisher::validateNonEmpty
Priority: Normal
Current State: Closed
Released In: n/a
Target Release:
In ftp.pm of
PublishPlugin 2.4.0, we have:
sub param_schema {
my $class = shift;
return {
destinationftpserver => {
validator =>
\&Foswiki::Plugins::PublishPlugin::Publisher::validateNonEmpty
},
destinationftppath => {
validator =>
\&Foswiki::Plugins::PublishPlugin::Publisher::validateNonEmpty
},
destinationftpusername => {
validator =>
\&Foswiki::Plugins::PublishPlugin::Publisher::validateNonEmpty
},
destinationftppassword => {
validator =>
\&Foswiki::Plugins::PublishPlugin::Publisher::validateNonEmpty
},
fastupload => { default => 1 },
%{ $class->SUPER::param_schema() }
};
}
However, Publisher.pm contains no sub 'validateNonEmpty', so any attempt to use the 'ftp' backend fails.
--
AlexisHazell - 31 Jan 2013
Checked a fix in on branch
Item14319. Waiting for merge.
--
Main.CrawfordCurrie - 01 Mar 2017 - 17:04