Wichert Akkerman wrote:
> Previously yuppie wrote:
>> Martin Aspeli wrote:
>>> Plone 3.3's IIndexableObjectWrapper implementation (in plone.indexer) 
>>> has a method _getWrappedObject(), to return the object that was wrapped 
>>> by the indexable object wrapper. It is (or rather, will be) used by 
>>> TextIndexNG3, which needs to access the raw object during indexing.
>> Why is there a need to access the raw object? The wrapper should provide 
>> all the interfaces and attributes required for indexing.
> TextIndexNG3 needs the unwrapped object to be able to look for adapters
> that provide indexable text for that object.

That's BBB code for old IndexableObjectWrappers that don't use 
IndexableObjectSpecification. With the correct __providedBy__ there is 
no need to unwrap the object before looking up adapters.

Cheers, Yuppie

Zope-CMF maillist  -  Zope-CMF@lists.zope.org

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Reply via email to