Item12374: 'ftp' backend fails due to call to non-existent sub PublishPlugin::Publisher::validateNonEmpty

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: PublishPlugin
Branches: master
Reported By: AlexisHazell
Waiting For:
Last Change By: CrawfordCurrie
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
 

ItemTemplate edit

Summary 'ftp' backend fails due to call to non-existent sub PublishPlugin::Publisher::validateNonEmpty
ReportedBy AlexisHazell
Codebase 1.1.6
SVN Range
AppliesTo Extension
Component PublishPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins PublishPlugin:65ff3b9a4a4e
ReleasedIn n/a
CheckinsOnBranches master
trunkCheckins
masterCheckins PublishPlugin:65ff3b9a4a4e
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r4 - 18 Apr 2017, CrawfordCurrie
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