[zope2-tracker] [Bug 142794] Re: CopySupport breaks all_meta_types

Tres Seaver tseaver at palladion.com
Sun May 16 13:37:07 EDT 2010


The 'OFS.CopySupport.sanity_check' function doesn't try to create a new
instance of the container:  it checks that you aren't trying to paste the
container itself into itself or one of its children.  If that check fails,
the error reported is, "This object cannot be pasted into itself".

The method '_verifyObjectPaste' uses the meta type of the candidate object
(not the container) to test permissions, and it doesn't actually create
one, so I cannot see how the error you report can surface there either.

Please supply a test case, or close as invalid.


** Changed in: zope2
   Importance: Medium => Low

** Changed in: zope2
       Status: New => Incomplete

** Changed in: zope2
     Assignee: (unassigned) => Tres Seaver (tseaver)

-- 
CopySupport breaks all_meta_types
https://bugs.launchpad.net/bugs/142794
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.


More information about the zope2-tracker mailing list