Hi all

I want to replace Archetypes.Field.ReferenceField with my own field. Monkey-patching is proving problematic because of ClassGen. For some reason the relatedItems field (of eg. a newly created ATDocument object) is not an instance of my replacement.

The patch does get applied late enough. I've tried using my own traditional patch (Archetypes.Field.Referencefield = MyField, Archetypes.atapi.ReferenceField = MyField) and collective.monkeypatcher but no success.

Clues?

Thanks
Hedley

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

Reply via email to