--- a/server/sqlutils.py Wed Aug 25 10:29:07 2010 +0200
+++ b/server/sqlutils.py Wed Aug 25 10:29:18 2010 +0200
@@ -260,11 +260,10 @@
"""
attrs = {}
eschema = entity.e_schema
- for attr in entity.edited_attributes:
- value = entity[attr]
+ for attr, value in entity.cw_edited.iteritems():
rschema = eschema.subjrels[attr]
if rschema.final:
- atype = str(entity.e_schema.destination(attr))
+ atype = str(eschema.destination(attr))
if atype == 'Boolean':
value = self.dbhelper.boolean_value(value)
elif atype == 'Password':