>> Can I suggest the following logic:
>> 1. if the object already implements the IIndexableObject marker
>> interface, no wrapping is required;
>> 2. otherwise, adapt to IIndexableObject to do the wrapping;
>> 3. if no adapter is registered, fall back to the existing
>> IndexableObjectWrapper class for BBB.
> That sounds like what I had in mind, but not for BBB. I think of the
> adapter scheme as a way to choose a non-default wrapper, rather than a
> quasi-mandatory replacement for it.
Ok, well this logic is checked in now on the branch, and tests adjusted
accordingly. Without any warnings.
Zope-CMF maillist - Zope-CMF@lists.zope.org
See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests