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

Andreas Jung lists at zopyx.com
Fri Jun 12 11:26:56 UTC 2009


On Fri, Jun 12, 2009 at 13:18, Hedley Roos <hedley at upfrontsystems.co.za>wrote:

> 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.
>

grep through the AT sources and you won't find any code actually using it
:-)

Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20090612/cd68a5bc/attachment.html>


More information about the Product-Developers mailing list