Item2360: the TOM syntax for getting a field of a particular topic has some inconsistency?
Priority: Low
Current State: No Action Required
Released In:
Target Release: n/a
Applies To: Engine
Component:
Branches:
I'm unsure if this is intentional
the Fn_IF.pm unit test contains
push(
@tests,
{
test => "'$this->{test_web}.$topicName'/info.version = '1.1'",
expect => "1"
}
);
push(
@tests,
{
test => "'$this->{test_web}.$topicName'/info.rev = '1'",
expect => "1"
}
);
whereas the docco in system.QuerySearch says
X/Y |
accesses Y from the topic specified by the value of X. X must evaluate to a topic name |
parent.name/(form.name='ExampleForm') will evaluate to true if (1) the topic has a parent, (2) the parent topic has the main form type ExampleForm. |
the difference being that the unit test is testing
/
and the docco says
\
if the syntax can be
Web.Topic\fieldintopic
and Web.Topic/fieldintopic
then we should say so in the docco
--
SvenDowideit - 15 Nov 2009
Am I just blind? I can't see
\
used anywhere in the docco?
--
CrawfordCurrie - 15 Nov 2009
me neither, I wonder what i was looking at
--
SvenDowideit - 18 Nov 2009