Hi <snip>
>> 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. Miles _______________________________________________ Zope-CMF maillist - [email protected] http://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests
