manage_renameObjects with remote ZEO

Sebastian Tänzer <st-QH+HwckL5+RBDLzU/[email protected]> Tue, 5 May 2015 19:42:31 +0200
Newsgroups gmane.comp.web.zope.general
Message-ID <[email protected]>
Hello Zope community,

does anyone know how to rename a OFS.Folder object from a remote python script (i.e. command line)? I’m trying this via ZEO.ClientStorage, but it fails with "The object <em>renametest1</em> does not support this operation.“ ,triggered by OFS/CopySupport.py", line 537, in _verifyObjectPaste.

Full test case code is at http://pastebin.com/j9HY3PVJ

At first I thought this is because of a missing REQUEST and/or authentication problem, as _verifyObjectPaste does some security checks or else fails with this message. Still, using makerequest and newSecurityManager doesn’t work.

Any help would be greatly appreciated :-)

Best
Sebastian

-
tänzermedien GmbH - Agentur für Online-Medien
Kekuléstr. 39 | 53115 Bonn, Germany
E-Mail: [email protected] | Web: http://www.taenzer.me  
Tel.: 0228-304134-0 | Fax.: 0228-304134-99
_______________________________________________
Zope maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )