[Zope] uniqueValuesFor makes an unexpected evaluation.
Dieter Maurer
dieter@handshake.de
Tue, 10 Dec 2002 20:03:22 +0100
Lennart Regebro writes:
> <dtml-in "Catalog.uniqeValuesFor('countries')">
> ...
>
> This works as expected, that is returning a list of the unique values in the
> "countries" index. But if I run this from a folder that is a subfolder to a
> fodler called "countries" then index_html gets called for this folder (which
> the failes, because the index:_html makes a call to REQUEST and it doens't
> get one).
>
> That makes absolutely no sense, and I can't even see why this would happen.
> Why does countries gets called when I do
> "Catalog.uniqeValuesFor('countries')". There are quotation marks around
> countries, it should be treated like a string. It seems to me that it's
> called during the interpretation of the DTML, because it seems that
> uniqueValuesFor isn't being called.
Unbelievable...
I would say, the problem must be at a different place.
Dieter