--- a/server/migractions.py Mon Apr 20 19:53:59 2009 +0200
+++ b/server/migractions.py Mon Apr 20 19:54:36 2009 +0200
@@ -765,7 +765,7 @@
self.commit()
def cmd_sync_schema_props_perms(self, ertype=None, syncperms=True,
- syncprops=True, syncrdefs=True, commit=True)
+ syncprops=True, syncrdefs=True, commit=True):
"""synchronize the persistent schema against the current definition
schema.
--- a/server/msplanner.py Mon Apr 20 19:53:59 2009 +0200
+++ b/server/msplanner.py Mon Apr 20 19:54:36 2009 +0200
@@ -1388,7 +1388,7 @@
return False
if not same_scope(var):
return False
- if any(v for v, _ in var.stinfo['attrvars'] if not v.name in variables):
+ if any(v for v, _ in var.stinfo['attrvars'] if not v in terms):
return False
return True
--- a/server/sources/extlite.py Mon Apr 20 19:53:59 2009 +0200
+++ b/server/sources/extlite.py Mon Apr 20 19:54:36 2009 +0200
@@ -213,7 +213,8 @@
cu = session.pool[self.uri]
if attrs is None:
attrs = self.sqladapter.preprocess_entity(entity)
- sql = self.sqladapter.sqlgen.update(SQL_PREFIX + str(entity.e_schema), attrs, ['eid'])
+ sql = self.sqladapter.sqlgen.update(SQL_PREFIX + str(entity.e_schema), attrs,
+ [SQL_PREFIX + 'eid'])
cu.execute(sql, attrs)
def update_entity(self, session, entity):