[Zope-CMF] Plone CatalogTool behavioural change in 2.5
Jens Vagelpohl
jens at dataflake.org
Sun Apr 23 16:05:24 EDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 23 Apr 2006, at 01:45, Wichert Akkerman wrote:
> A behavioural change was introduced in the CMFPlone 2.5 branch which I
> think we need to revert: CMFPlone.CatalogTool.__init__ will no longer
> call the _initIndexes. This silently break existing products which do
> not yet use GenericSetup.
>
> Now that we have GenericSetup should _initIndexes be deprecated in
> the 1.x branch of CMF? CMFPlone is imho not the right place to do
> that.
You're welcome to add deprecation warnings in the 1.5/1.6 branches,
it's gone in 2.0/trunk already.
On the 1.6 branch you have both in place: the _initIndexes method on
the CatalogTool, but also the GenericSetup-based way of index
creation. So instead of reverting your change you could add a
suitable GenericSetup profile?
jens
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFES94FRAx5nvEhZLIRAs7nAJ40Hd2yZYfvBgEsqJGuUJ8Ij5r6+wCdEaKj
7NcKLTdOYemqcJX/99G3sw4=
=H3uo
-----END PGP SIGNATURE-----
More information about the Zope-CMF
mailing list