[Erp5-dev] _local_properties

Tomasz Brzezina tomasz at brzezina.pl
Wed Mar 26 17:39:32 CET 2008


Jérome Perrin pisze:
> A local property "in_family_number" will be created if you don't have 
> "in_family_number" defined in your property sheets, and you call 
> context.edit(in_family_number='something').
> This is what happens when you edit a document with a form containing a 
> "my_in_family_number" field. So if you created your form and used it to 
> edit some documents before you actually associated this property sheet 
> to the document type, you are in this situation.
yes, that's it! I decide to change property name, and first i change the 
field name and than in propertysheet - and
it's possible that i edit some document before I restart zope

> If you use svn revision > 20148, calling fixConsistency on this document 
> will repair this automatically by removing the local property.
ok I will try

-- 
T.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3327 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20080326/ba9659bc/attachment.bin>


More information about the Erp5-dev mailing list