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 Item11383 for general documentation changes for release 1.1.5. Use Item9693 for docu changes for release 2.0.

Item4627: TagMePlugin fails to parse Tasks for subwebs

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Confirmed Extension TagMePlugin  
-- TWiki:Main/BobGoldstein - 14 Sep 2007

tpaction=showalltags or tpaction=query suggest that I can include: web="Tasks" to limit the search

to the current web. However, for subwebs, Tasks returns "BigWeb/SubWeb", whereas TagMePlugin

likes to think of this as "BigWeb.SubWeb", since that is how it constructs filenames.

As a temp fix, you could insert:

$qWeb =~ s!/!.!g;

after lines 354 and 517.

Personally, it would make more sense to me to structure the tag files in parallel

with the webs, and use real directories, and make the tags per-web instead of global.


TagMePlugin has aged poorly.

Applied the above change, but there are other places where there needs to be some sort of audit to fix up all the places where web= parameter is parsed and blindly compared against the web.subweb.subsubweb from that TAGME uses internally.

-- PaulHarvey - 28 Apr 2010

ItemTemplate edit

Summary TagMePlugin fails to parse Tasks for subwebs
ReportedBy TWiki:Main.BobGoldstein
Codebase
SVN Range TWiki-4.2.0, Sat, 08 Sep 2007, build 14780
AppliesTo Extension
Component TagMePlugin
Priority Normal
CurrentState Confirmed
WaitingFor
Checkins Foswikirev:7275
TargetRelease n/a
ReleasedIn
Topic revision: r2 - 28 Apr 2010 - 06:08:07 - PaulHarvey
 
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