[Zope] DTML question

Luke Tymowski ltymowski@attglobal.net
Wed, 28 Jun 2000 10:09:12 -0400


Hello,

>  <dtml-in "PARENTS[0].objectValues(['DTML Document'])" size=3 sort=id>
should
> work, no?

No.

This works on my production server, which runs Zope 2.1.14.
<dtml-with history>
  <dtml-with 2000>
    <dtml-in "objectValues(['DTML Document'])" size=3 sort=title reverse>
      <dtml-var sequence-item><br>
    </dtml-in>
  </dtml-with>
</dtml-with>

But if I try that same code on 2.2b2 it doesn't work.
If the subfolder is down 1, then size=1 works, but size=2 returns
everything.
If the subfolder is down 2, then size=1 works, size=2 works, but size=3
returns everything.

By down 2 I mean like the example code above (folder I want to query is two
levels down).

Maybe it's a 2.2 bug?

Luke