15 Feb
2011
15 Feb
'11
12:25 p.m.
On Tue, Feb 15, 2011 at 1:21 PM, Johannes Raggam <raggam-nl@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