On 6/12/09 1:26 PM, Andreas Jung wrote:


On Fri, Jun 12, 2009 at 13:18, Hedley Roos <[email protected]
<mailto:[email protected]>> 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 <[email protected]>   It is simple to make things.
http://www.wiggy.net/                  It is hard to make things simple.

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to