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

But for zope.formlib it make indeed make sense to be more lenient
here. So +0 on your patch.

Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to