[Erp5-dev] copy or cut & paste - SQLCatalog problems

Jean-Paul Smets jp at nexedi.com
Fri Sep 21 10:54:53 CEST 2007


Łukasz Nowak a écrit :
> Hello,
>
> While doing copy or cut & paste on objects in Zope (eg. Container and
> Container Line type in Sale Packing List) I have WARNING from
> SQLCatalog, generated by line:
>
> LOG('SQLCatalog', WARNING,
>                 'uid of %r changed from %r to %r as old one is assigned
> to %s in catalog !!! This can be fatal. You should reindex the whole
> site immediately.' % (object, uid, object.uid, catalog_path))
>
> (about 1570 line of ZSQLCatalog/SQLCatalog.py)
>
> And then I have to reindex whole site.
>
> How can I fix it? What would be real problem? Is that problem
> unit-tested somewhere?
>
>   
Please provide a bit more information:  what is the type of object
(class, portal type).

JPS.
> Regards,
> Luke
>
>   


-- 
Jean-Paul Smets-Solanes, Nexedi CEO - Tel. +33(0)6 62 05 76 14
Nexedi: Consulting and Development of Libre / Open Source Software
http://www.nexedi.com
ERP5: Libre/ Open Source ERP Software for small and medium companies
http://www.erp5.org






More information about the Erp5-dev mailing list