diff --git a/VERSION b/VERSION index fc3343e5..e59ff10e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-08-06 20:54:15) dev +Version 2.00.0 (2012-08-06 21:24:31) dev diff --git a/gluon/dal.py b/gluon/dal.py index 892ecaee..cf159784 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -7487,7 +7487,10 @@ class Table(dict): new_fields.append((ofield,ofield.update)) for ofield in self: if ofield.compute: - new_fields.append((ofield,ofield.compute(Row(fields)))) + try: + new_fields.append((ofield,ofield.compute(Row(fields)))) + except KeyError: + pass if not update and ofield.required and not ofield.name in new_fields_names: raise SyntaxError,'Table: missing required field: %s' % ofield.name return new_fields