Commit c408e9a9 authored by 's avatar

Merged fix for bug #2006

parent 5d45b7eb
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
# #
############################################################################## ##############################################################################
__doc__="""Copy interface""" __doc__="""Copy interface"""
__version__='$Revision: 1.67 $'[11:-2] __version__='$Revision: 1.68 $'[11:-2]
import sys, string, Globals, Moniker, tempfile, ExtensionClass import sys, string, Globals, Moniker, tempfile, ExtensionClass
from marshal import loads, dumps from marshal import loads, dumps
...@@ -146,7 +146,7 @@ class CopyContainer(ExtensionClass.Base): ...@@ -146,7 +146,7 @@ class CopyContainer(ExtensionClass.Base):
resp=REQUEST['RESPONSE'] resp=REQUEST['RESPONSE']
resp.setCookie('__cp', cp, path='%s' % REQUEST['SCRIPT_NAME']) resp.setCookie('__cp', cp, path='%s' % REQUEST['SCRIPT_NAME'])
REQUEST['__cp'] = cp REQUEST['__cp'] = cp
return self.manage_main(REQUEST) return self.manage_main(self, REQUEST)
return cp return cp
def manage_copyObjects(self, ids=None, REQUEST=None, RESPONSE=None): def manage_copyObjects(self, ids=None, REQUEST=None, RESPONSE=None):
...@@ -171,7 +171,7 @@ class CopyContainer(ExtensionClass.Base): ...@@ -171,7 +171,7 @@ class CopyContainer(ExtensionClass.Base):
resp=REQUEST['RESPONSE'] resp=REQUEST['RESPONSE']
resp.setCookie('__cp', cp, path='%s' % REQUEST['SCRIPT_NAME']) resp.setCookie('__cp', cp, path='%s' % REQUEST['SCRIPT_NAME'])
REQUEST['__cp'] = cp REQUEST['__cp'] = cp
return self.manage_main(REQUEST) return self.manage_main(self, REQUEST)
return cp return cp
def _get_id(self, id): def _get_id(self, id):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment