On Tue, Feb 15, 2011 at 1:21 PM, Johannes Raggam <raggam...@adm.at> wrote: > while - IMO - zope.schema throws that error justifiably, i think > zope.formlib should handle it more gracefully in setUpEditWidgets. i > think, this error comes with every schema upgrade for zope.formlib based > edit-forms. so, what do you think of following patch?
The usual approach is to add new attributes as class attributes to the persistent object. Or write an actual database upgrade step, either via something like zope.generations or with a GenericSetup upgrade step. But for zope.formlib it make indeed make sense to be more lenient here. So +0 on your patch. Hanno _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )