To prevent copying from above, maybe you could have a manage_afterClone method that raises an exception.
Florent Tom Bech <[EMAIL PROTECTED]> wrote: > Hi! > > Is there really no way for an object to know wether a call to > manage_beforeDelete is the result of a delete or a move > operation? > > I've tried to override _notifyOfCopyTo and setting > an internal variable based on the op parameter, > but alas it's not called when moving the parent... > > I have another class of objects which must not be cloned > (sitewide unique) and I have overridden _CanCopy to avoid this, > but again it's simply ignored when the parent is cloned... > > Any suggestions? > > Tom -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:[EMAIL PROTECTED] _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )