diff --git a/VERSION b/VERSION index 2b4d761e..0d57e382 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.1 (2012-08-28 14:45:03) rc4 +Version 2.00.1 (2012-08-28 14:57:17) rc4 diff --git a/gluon/dal.py b/gluon/dal.py index 1a672c22..ee73c25e 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -1824,6 +1824,10 @@ class BaseAdapter(ConnectionPool): if field.filter_out: value = field.filter_out(value) colset[fieldname] = value + + # for backward compatibility + if field.type=='id' and fieldname!='id' and not 'id' in table.fields: + colset['id'] = value if field.type == 'id' and not cacheable: # temporary hack to deal with