added backward compatibility fix for row.id when id not called id (doh)
This commit is contained in:
2
VERSION
2
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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user