[Zope] Gadfly table change

douwe@oberon.nl douwe@oberon.nl
Fri, 21 Jun 2002 09:52:47 +0200


Hi,

I have a table in Gadly that needed to extra fields. I couldn't find any
'ALTER TABLE' statement and since the current data wasn't very important, I
dropped the table and recreated it with the extra fields. However, this
didn't work as planned, ever since I get an error when I try to insert data
with the new fields set:

Error, exceptions.NameError: ['FIELD1', 'FIELD2', 'FIELD3', 'FIELD4']: not
set in insert on TABLE

where TABLE is my table and FIELD1..4 are the new fields.

I checked the source code where the exception is thrown and it seems that
some part of Gadfly is still working with the old definition it says ### for
now all attributes must be in colset.

Any ideas?

Douwe Osinga