[Zope-CMF] CatalogTool bug

Tres Seaver tseaver@zope.com
Wed, 28 Nov 2001 05:42:32 -0500


Juan David Ib=E1=F1ez Palomar wrote:

> Yesterday I filled a report bug against the ZCatalog, but
> it wasn't there, the bug is in the CMF from the CVS.
>=20
> In CMFCore.CatalogTool.CatalogTool.searchResults there're
> these two lines:
>=20
>   kw[ 'effective' ] =3D { 'query' : now, 'usage' : 'range:max' }
>   kw[ 'expires' ] =3D { 'query' : now, 'usage' : 'range:min' }
>=20
> Which are wrong, they should be:
>=20
>   kw[ 'effective' ] =3D { 'query' : now, 'range' : 'max' }
>   kw[ 'expires' ] =3D { 'query' : now, 'range' : 'min' }


This is certainly the preferred spelling for range queries
under Zope 2.4;  I *think* it won't work for a Zope 2.3 site,
however.

=20
> By the way, is there a bug collector for the CMF?

The CMF tracker is at:

  http://www.zope.org/Products/PTK/Tracker

Tres.
--=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com