branch | stable |
changeset 3689 | deb13e88e037 |
parent 3623 | 9b838e2d72bb |
child 4023 | eae23c40627a |
child 4176 | 42247d70105b |
--- a/server/sqlutils.py Thu Oct 15 18:43:04 2009 +0200 +++ b/server/sqlutils.py Thu Oct 15 20:29:21 2009 +0200 @@ -229,8 +229,8 @@ attrs = {} eschema = entity.e_schema for attr, value in entity.items(): - rschema = eschema.subject_relation(attr) - if rschema.is_final(): + rschema = eschema.subjrels[attr] + if rschema.final: atype = str(entity.e_schema.destination(attr)) if atype == 'Boolean': value = self.dbhelper.boolean_value(value)