--- a/hooks/workflow.py Tue Dec 08 10:58:56 2009 +0100
+++ b/hooks/workflow.py Tue Dec 08 11:12:42 2009 +0100
@@ -125,13 +125,13 @@
msg %= session._(forentity.current_workflow.name)
session.transaction_data[(forentity.eid, 'subwfentrytr')] = True
# XXX iirk
- req = forentity.req
- forentity.req = session.super_session
+ req = forentity._cw
+ forentity._cw = session.super_session
try:
trinfo = forentity.change_state(tostate, msg, u'text/plain',
tr=wftr)
finally:
- forentity.req = req
+ forentity._cw = req
# hooks ########################################################################