diff -r 665c37544060 -r 59eb710b9862 entity.py --- a/entity.py Tue Oct 13 08:50:51 2009 +0200 +++ b/entity.py Tue Oct 13 08:51:02 2009 +0200 @@ -824,7 +824,7 @@ """ from indexer.query_objects import tokenize # take care to cases where we're modyfying the schema - pending = self.req.transaction_data.setdefault('pendingrdefs', set()) + pending = self._cw.transaction_data.setdefault('pendingrdefs', set()) words = [] for rschema in self.e_schema.indexable_attributes(): if (self.e_schema, rschema) in pending: