[Setup] Re: Problem migrating sub-classed ATContentTypes content

Michael Davis m.r.davis at cranfield.ac.uk
Thu Apr 13 09:48:47 UTC 2006


Hi Andre,

You need to add the ConstrainTypesMixinSchema to your schema. So on your 
content type in your imports put:

from Products.ATContentTypes.lib.constraintypes import 
ConstrainTypesMixinSchema

and, add that schema to your declaration

schema = YourSchema + ConstrainTypesMixinSchema

That should work fine then. You shouldn't need to update your schema, just 
restart the server.

Cheers
Michael




More information about the Setup mailing list