[Product-Developers] Post-create update of a reference field

Hedley Roos hedley at upfrontsystems.co.za
Fri Jun 12 11:18:50 UTC 2009


>> Have you tried setting keepReferencesOnCopy=1 on the field which
>> references the sub-event?
> 
> keepReferencesOnCopy seems to be a dead horse. There is no code -
> neither in Archetypes
> nor Plone actually using it :-)
> 

Mmm. I have rfields=self.Schema().filterFields(type="reference", 
keepReferencesOnCopy=1) in Referenceable.py. Some of my content types do 
not work if I do not make use of keepRefs.

It was only introduced in Archetype 1.5.8 I think.

Hedley





More information about the Product-Developers mailing list