[Zope] Re: Warning: TextIndexNG 1.07 corrups your objects if you have casefolding on

Heimo Laukkanen huima@fountainpark.org
Mon, 06 Jan 2003 06:58:53 +0200


Andreas Jung wrote:
> I have never seen this problem since casefolding is on by default(!) and 
> there is
> no code that modifies the original object. Please provide a reasonable 
> description
> how to reproduce this problem with a standard Zope installation.

Ok. Here is how to do it.

I have a Zope 2.6.

Create new folder for test textindextest with public interface ( 
index_html )

Go to index_html, add to properties content uText field. Add content: 
Test Content'

Create ZCatalag there - with name Catalog, add TextIndexNG index with 
name content, indexing content attribute.

Find objects to catalog with name index_html

Go back to index_html and check properties: Test Content is changed to 
test content



-huima