[Zope-dev] cut/paste catalogue aware zclass instances still broken in 2.20?

Terry Kerr terry@adroit.net
Sun, 23 Jul 2000 16:25:58 +1000


I had this problem with 2.1.6, but it seems to fix itself with 2.2.0.  I
think you must be having a different problem.  The problem with 2.1.6 was
to do with the copying of objects to the clipboard.  You were not able to
call absolute_url() on an object in the clipboard, and that cause problems
when cutting and pasting catalog aware classes since the index in the
catalog is done by the absolute url and so when unindexing, absolute_url()
is called.  However, the clipboard stuff has changed in 2.2.0 and the
problem seems to have been fixed as far as I can tell.

terry


"Dr. Ross Lazarus" wrote:

> Has anyone else noticed a problem with pasting cut or copied
> catalogue-aware zclass instances?
>
> The collector item #1371 I submitted on June 27 seems still to be
> present in 2.20 final - sorry, I don't have a patch...
>
> It's a function I need and duplicating it without using
> manage_pasteObject after a manage_cutObject is going to be painful.
>
> The manage_cutObject and manage_copyObject functions seem happy enough,
> but when I do a manage_pasteObject, I get "the object foobar does not
> support this operation" - no traceback.
>
> Zope-2.2.0 source on Redhat linux 6.1
>
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> 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 )

--
Terry Kerr (terry@adroit.net)
Adroit Internet Solutions Pty Ltd (www.adroit.net)
Phone:   +613 9563 4461
Fax:     +613 9563 3856
Mobile:  +61 414 938 124
ICQ:     79303381