[Zope] manage_clone problems

Jean-François Ménard menard.jean-francois@hydro.qc.ca
Thu, 7 Jun 2001 11:35:14 -0400


C'est un message de format MIME en plusieurs parties.

------=_NextPart_000_0007_01C0EF45.EB31B860
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

In my python product, I'm trying to copy some objects from one container =
to another.  Both inherit from ObjectManager and CatalogAware.  =
CatalogAware appear before ObjectManager.

When I try to use manage_clone, I get:

Traceback (innermost last):
  File D:\INTRAN~1\lib\python\ZPublisher\Publish.py, line 223, in =
publish_module
  File D:\INTRAN~1\lib\python\ZPublisher\Publish.py, line 187, in =
publish
  File D:\INTRAN~1\lib\python\Zope\__init__.py, line 221, in =
zpublisher_exception_hook
    (Object: RoleManager)
  File D:\INTRAN~1\lib\python\ZPublisher\Publish.py, line 171, in =
publish
  File D:\INTRAN~1\lib\python\ZPublisher\mapply.py, line 160, in mapply
    (Object: copieChampsActionsCMT)
  File D:\INTRAN~1\lib\python\ZPublisher\Publish.py, line 112, in =
call_object
    (Object: copieChampsActionsCMT)
  File D:\INTRAN~1\lib\python\Products\Excel2Explore\LigneCMT.py, line =
61, in copieChampsActionsCMT
    (Object: RoleManager)
  File D:\INTRAN~1\lib\python\OFS\CopySupport.py, line 333, in =
manage_clone
    (Object: RoleManager)
  File D:\INTRAN~1\lib\python\OFS\CopySupport.py, line 444, in =
_verifyObjectPaste
    (Object: RoleManager)
Copy Error: (see above)


I found in the mailinglist archive that it would be a security problem.  =
What are the security settings needed to enable copying of objects????

Any, any any ant help would be very appreciated... :)  Thanks!

Jeff

------=_NextPart_000_0007_01C0EF45.EB31B860
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>In my python product, I'm trying to =
copy some=20
objects from one container to another.&nbsp; Both&nbsp;inherit from=20
ObjectManager&nbsp;and CatalogAware.&nbsp;&nbsp;CatalogAware appear=20
before&nbsp;ObjectManager.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>When I&nbsp;try to use manage_clone, I=20
get:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>Traceback (innermost last):<BR>&nbsp; File=20
D:\INTRAN~1\lib\python\ZPublisher\Publish.py, line 223, in=20
publish_module<BR>&nbsp; File =
D:\INTRAN~1\lib\python\ZPublisher\Publish.py, line=20
187, in publish<BR>&nbsp; File D:\INTRAN~1\lib\python\Zope\__init__.py, =
line=20
221, in zpublisher_exception_hook<BR>&nbsp;&nbsp;&nbsp; (Object:=20
RoleManager)<BR>&nbsp; File =
D:\INTRAN~1\lib\python\ZPublisher\Publish.py, line=20
171, in publish<BR>&nbsp; File =
D:\INTRAN~1\lib\python\ZPublisher\mapply.py, line=20
160, in mapply<BR>&nbsp;&nbsp;&nbsp; (Object: =
copieChampsActionsCMT)<BR>&nbsp;=20
File D:\INTRAN~1\lib\python\ZPublisher\Publish.py, line 112, in=20
call_object<BR>&nbsp;&nbsp;&nbsp; (Object: =
copieChampsActionsCMT)<BR>&nbsp; File=20
D:\INTRAN~1\lib\python\Products\Excel2Explore\LigneCMT.py, line 61, in=20
copieChampsActionsCMT<BR>&nbsp;&nbsp;&nbsp; (Object: =
RoleManager)<BR>&nbsp; File=20
D:\INTRAN~1\lib\python\OFS\CopySupport.py, line 333, in=20
manage_clone<BR>&nbsp;&nbsp;&nbsp; (Object: RoleManager)<BR>&nbsp; File=20
D:\INTRAN~1\lib\python\OFS\CopySupport.py, line 444, in=20
_verifyObjectPaste<BR>&nbsp;&nbsp;&nbsp; (Object: RoleManager)<BR>Copy =
Error:=20
(see above)<BR></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I found in the mailinglist archive that =
it would be=20
a security problem.&nbsp; What are the security settings needed to =
enable=20
copying of objects????</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Any, any any ant&nbsp;help would be =
very=20
appreciated... :)&nbsp; Thanks!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Jeff</FONT></DIV></BODY></HTML>

------=_NextPart_000_0007_01C0EF45.EB31B860--