# HG changeset patch # User Sylvain Thénault # Date 1260270195 -3600 # Node ID e50a6b70c8e4444594cddf182973793ecd78eca1 # Parent 062beb946b7cc6148633856f14f7da3f8b45d297 missing mainvars diff -r 062beb946b7c -r e50a6b70c8e4 entities/wfobjs.py --- a/entities/wfobjs.py Tue Dec 08 12:03:10 2009 +0100 +++ b/entities/wfobjs.py Tue Dec 08 12:03:15 2009 +0100 @@ -247,9 +247,8 @@ kwargs['x'] = self.eid kwargs.setdefault('mainvars', u'X') self._cw.execute('INSERT RQLExpression X: X exprtype "ERQLExpression", ' - 'X expression %(expr)s, T condition X ' - 'WHERE T eid %(x)s', - 'T condition X WHERE T eid %(x)s', kwargs, 'x') + 'X expression %(expr)s, X mainvars %(mainvars)s, ' + 'T condition X WHERE T eid %(x)s',kwargs, 'x') # XXX clear caches?