[Erp5-dev] Differnt uid types for Image
Lukasz Nowak
lukasz.nowak at ventis.com.pl
Wed Sep 13 13:53:15 CEST 2006
Hello,
Dnia poniedziałek, 21 sierpnia 2006 17:47, Łukasz Nowak napisał:
> Hello,
(...)
After adding File object to Person such information is logged:
2006-09-13T13:47:20 TRACE(-300) SQLDict invoking a group method
portal_catalog/catalogObjectList with 1 objects (1 objects in expanded form)
2006-09-13T13:47:20 TRACE(-300) SQLCatalog catalogging 1 objects
2006-09-13T13:47:20 PROBLEM(100) SQLCatalog uid of <File
at /erp5/person_module/4/1> changed from 38100L to 38101 !!! This can be
fatal. You should reindex the whole site immediately.
And after that, I cannot validate person, because validator for Person object
gets type from File (which is magiclly int, not long). Well,
self.getPropertyType('uid') returns 'long', but self.getProperty(key='uid')
returns 'int'. What a mess... :(
I was trying some magic with
~/Products/ERP5Type/Constraint/PropertyTypeValidity.py but I cannot find out
what could be wrong. I'd love to squash that bug, but I worry, that w/o some
clue, I cannot go any further...
Bye,
Luke
--
Łukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 392 10 60 int 37 fax: +48 32 392 10 61
https://ssl.ventis.com.pl/keys/lukasz.nowak.pub.asc
``Use the Source, Luke...''
More information about the Erp5-dev
mailing list