*** lib/TWiki/Plugins/TreePlugin.pm 2008-04-11 00:58:00.000000000 +0200 --- lib/TWiki/Plugins/TreePlugin.pm.new 2008-04-17 17:30:50.000000000 +0200 *************** *** 341,346 **** --- 341,347 ---- my $cache=''; #Create our file cache if needed + $aWeb =~ s/\//./g; my $cacheFileName = "$workAreaDir/$aWeb.tree"; if (-e $cacheFileName) { *************** *** 410,415 **** --- 411,417 ---- my $aWeb=$_[0]; my $aTopic=$_[1]; + $aWeb =~ s/\//./g; my $cacheFileName = "$workAreaDir/$aWeb.tree"; TWiki::Func::writeDebug( "- ${pluginName} Checking cache file: $cacheFileName" ) if $debug; unless (-e $cacheFileName) *************** *** 572,578 **** TWiki::Func::writeDebug( "- ${pluginName}::beforeSaveHandler( $_[2].$_[1] )" ) if $debug; #Invalidate our cache for that web ! my $cacheFileName = "$workAreaDir/$_[2].tree"; if (-e $cacheFileName) { unlink $cacheFileName; --- 574,582 ---- TWiki::Func::writeDebug( "- ${pluginName}::beforeSaveHandler( $_[2].$_[1] )" ) if $debug; #Invalidate our cache for that web ! my $aWeb = $_[2]; ! $aWeb =~ s/\//./g; ! my $cacheFileName = "$workAreaDir/$aWeb.tree"; if (-e $cacheFileName) { unlink $cacheFileName;