calling manage_deleteObjects within an objectManager sub-class
I'm having trouble calling manage_deleteObjects within an ObjectManager sub-class. Specifically, I get an Unauthorized exception in _verifyObjectPaste out of CopySupport. Basically I'm trying to make a copy of an object and then subsequently rename it. I've searched the lists and found references to similar problems but no solutions. Any ideas/pointers are appreciated. Thanks, Dave
Dave Hall wrote:
I'm having trouble calling manage_deleteObjects within an ObjectManager sub-class. Specifically, I get an Unauthorized exception in _verifyObjectPaste out of CopySupport.
I'm pretty sure manage_delObjects doesn't use _verifyObjectPaste, so you're doing something else as well. Perhaps you can show us all the code of the method that calls manage_delObjects?
Basically I'm trying to make a copy of an object and then subsequently rename it.
Then why are calling manage_delObjects? cheers, Chris
On Thu, Jan 23, 2003 at 11:24:19AM +0000, Chris Withers wrote:
Dave Hall wrote:
I'm having trouble calling manage_deleteObjects within an ObjectManager sub-class. Specifically, I get an Unauthorized exception in _verifyObjectPaste out of CopySupport.
I'm pretty sure manage_delObjects doesn't use _verifyObjectPaste, so you're doing something else as well.
Sorry, brain fart. That should be manage_pasteObjects. Dave
You can use the VerboseSecurity product to track down this kind of permissions problem. Florent Dave Hall <dave-zope@dnh.sk.ca> wrote:
I'm having trouble calling manage_deleteObjects within an ObjectManager sub-class. Specifically, I get an Unauthorized exception in _verifyObjectPaste out of CopySupport.
Basically I'm trying to make a copy of an object and then subsequently rename it. I've searched the lists and found references to similar problems but no solutions. -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com
participants (3)
-
Chris Withers -
Dave Hall -
Florent Guillaume