diff -r 16f0cec3d008 -r 398cc8b39aec server/session.py --- a/server/session.py Wed Mar 24 13:51:52 2010 +0100 +++ b/server/session.py Wed Mar 24 14:11:01 2010 +0100 @@ -155,6 +155,9 @@ session = Session(user, self.repo) threaddata = session._threaddata threaddata.pool = self.pool + # share pending_operations, else operation added in the hi-jacked + # session such as SendMailOp won't ever be processed + threaddata.pending_operations = self.pending_operations # everything in transaction_data should be copied back but the entity # type cache we don't want to avoid security pb threaddata.transaction_data = self.transaction_data.copy()