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

Wichert Akkerman wichert at wiggy.net
Sat Jun 27 19:16:47 UTC 2009


On 6/12/09 1:26 PM, Andreas Jung wrote:
>
>
> On Fri, Jun 12, 2009 at 13:18, Hedley Roos <hedley at upfrontsystems.co.za
> <mailto: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 :-)

Look closer, or see http://dev.plone.org/old/archetypes/changeset/9562 :)

Wichert.


-- 
Wichert Akkerman <wichert at wiggy.net>   It is simple to make things.
http://www.wiggy.net/                  It is hard to make things simple.




More information about the Product-Developers mailing list