NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

Item11845: DBCachePlugin not in INC Path, when calling delete file action.

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal No Action Required Extension TopicInteractionPlugin  
I'm using a fresh install of FOSWIKI 1.1.5 and several Plugins, but not DBCachePlugin. When I try to use the delete file REST-action the browser hangs (as the AJAX response is an error message). The Problem seems to result from several references to the DBCachePlugin in DeleteAttachment.pm.

Exception is:

Can't locate Foswiki/Plugins/DBCachePlugin.pm in @INC (@INC contains: /var/www/vhosts/wiki.isekinet.de/httpdocs/foswiki/lib . /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 /var/www/vhosts/wiki.isekinet.de/httpdocs/foswiki/lib/CPAN/lib/arch /var/www/vhosts/wiki.isekinet.de/httpdocs/foswiki/lib/CPAN/lib/5.8.8/x86_64-linux-thread-multi /var/www/vhosts/wiki.isekinet.de/httpdocs/foswiki/lib/CPAN/lib/5.8.8 /var/www/vhosts/wiki.isekinet.de/httpdocs/foswiki/lib/CPAN/lib) at /var/www/vhosts/wiki.isekinet.de/httpdocs/foswiki/lib/Foswiki/Plugins/TopicInteractionPlugin/Action/DeleteAttachment.pm line 21., referer: ---;revInfo=1

The same error seems to happen for the following files.

-sh-3.2$ grep DBCachePlugin *
CreateLinks.pm:use Foswiki::Plugins::DBCachePlugin ();
CreateLinks.pm:  Foswiki::Plugins::DBCachePlugin::disableRenameHandler();
CreateLinks.pm:  Foswiki::Plugins::DBCachePlugin::enableRenameHandler();
CreateLinks.pm:  Foswiki::Plugins::DBCachePlugin::loadTopic($web, $topic);
HideAttachment.pm:use Foswiki::Plugins::DBCachePlugin ();
HideAttachment.pm:  Foswiki::Plugins::DBCachePlugin::disableRenameHandler();
HideAttachment.pm:  Foswiki::Plugins::DBCachePlugin::enableRenameHandler();
HideAttachment.pm:  Foswiki::Plugins::DBCachePlugin::loadTopic($web, $topic);
MoveAttachment.pm:use Foswiki::Plugins::DBCachePlugin ();
MoveAttachment.pm:  Foswiki::Plugins::DBCachePlugin::disableRenameHandler();
MoveAttachment.pm:  Foswiki::Plugins::DBCachePlugin::enableRenameHandler();
MoveAttachment.pm:  Foswiki::Plugins::DBCachePlugin::loadTopic($web, $topic);
MoveAttachment.pm:  Foswiki::Plugins::DBCachePlugin::loadTopic($newWeb, $newTopic);
UnhideAttachment.pm:use Foswiki::Plugins::DBCachePlugin ();
UnhideAttachment.pm:  Foswiki::Plugins::DBCachePlugin::disableRenameHandler();
UnhideAttachment.pm:  Foswiki::Plugins::DBCachePlugin::enableRenameHandler();
UnhideAttachment.pm:  Foswiki::Plugins::DBCachePlugin::loadTopic($web, $topic);=

-- MartinHoffmann - 09 May 2012

Please upgrade to the latest release of TopicInteractionPlugin. Feel free to reopen this bug item when the error still persists.

-- MichaelDaum - 09 May 2012
 

ItemTemplate edit

Summary DBCachePlugin not in INC Path, when calling delete file action.
ReportedBy MartinHoffmann
Codebase 1.1.5
SVN Range
AppliesTo Extension
Component TopicInteractionPlugin
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
Release01x01Checkins
Topic revision: r2 - 09 May 2012, MichaelDaum
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads