[Zope] manage_pasteObjects question

Dieter Maurer dieter at handshake.de
Wed Mar 8 14:07:10 EST 2006


Palermo, Tom wrote at 2006-3-7 16:13 -0500:
>I am trying to do a manage_cutObjects in one script and then a
>manage_pasteObjects.

Usually, this looks like:

	 obj_info = XXX.manage_cutObjects(...)
	 YYY.manage_pasteObjects(obj_info)

>When I execute this line from my pasteObjects python
>script:
>context.manage_pasteObjects(cb_copy_data=context.cb_dataItems(),REQUEST=req[
>'__cp'])

Do not know, why in hell you pass in a crippled request...

  You should be aware that "req['__cp']" is not a request object...

-- 
Dieter


More information about the Zope mailing list