This needs testing - as I'm in the middle of trying to fudge it on a client system
using strawberry perl and pureperl search, the following query / IF statement appears to fail for topics that are not wiki words
(yes,
About is the parent of
Team)
"('Blackfin.Team'/parent.name = 'About')"
%IF{
"('Blackfin.Team'/parent.name = 'About')"
then=" * yes"
else=" * no"
}%
When I rename the Team (and other similar topics) to a name like
OutTeam, the IF and query work.
This bug hasn't shown up on the OSX system I have been working on - even after i set it to use pure perl search too, bo
--
SvenDowideit - 31 Jan 2009
Since the parent only includes the web specifier if the reference is out-of-web, then 'About' obviously has to be in the same web. So an equals test should work.
Let's try it:
- Does %IF{"('Sandbox.TestItem922'/parent.name = 'About')" then="yes" else="no"}% work? no
And
- Does %IF{"('Sandbox.TestItem922'/parent.name = 'NotAbout')" then="yes" else="no"}% work? no
Well, it works fine here. Good. I don't have strawberry perl (I use
ActiveState? ) so I'm leaving this for Sven's feedback, as he can easily build the same testcase.
--
CrawfordCurrie - 05 Feb 2009
Cannot be urgent any more
--
KennethLavrsen - 24 Feb 2009
Any feedback or do we No Action this? This one is from February. And the feedback required takes 5 minutes to do.
--
KennethLavrsen - 09 Jan 2010
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. 
