[Zope-CMF] Plone CatalogTool behavioural change in 2.5
jens at dataflake.org
Sun Apr 23 16:05:24 EDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
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
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?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
-----END PGP SIGNATURE-----
More information about the Zope-CMF