[Zope] Copying and pasting Z Class instances
Alexander Staubo
alex@mop.no
Thu, 12 Aug 1999 15:10:45 +0200
I'm talking about instances of ZClasses -- not the ZClasses objects
themselves. Here's a cut/paste traceback:
Traceback (innermost last):
File C:\zope\intra\lib\python\ZPublisher\Publish.py, line 209, in
publish_module
File C:\zope\intra\lib\python\ZPublisher\Publish.py, line 179, in
publish
File C:\zope\intra\lib\python\Zope\__init__.py, line 199, in
zpublisher_exception_hook
(Object: ApplicationDefaultPermissions)
File C:\zope\intra\lib\python\ZPublisher\Publish.py, line 165, in
publish
File C:\zope\intra\lib\python\ZPublisher\mapply.py, line 154, in
mapply
(Object: manage_pasteObjects)
File C:\zope\intra\lib\python\ZPublisher\Publish.py, line 102, in
call_object
(Object: manage_pasteObjects)
File C:\zope\intra\lib\python\OFS\CopySupport.py, line 199, in
manage_pasteObjects
(Object: ElementWithAttributes)
File C:\zope\intra\lib\python\OFS\CopySupport.py, line 381, in
_verifyObjectPaste
(Object: ElementWithAttributes)
Copy Error: (see above)
--
Alexander Staubo http://www.mop.no/~alex/
"His latest [comic-book hero] was the very exemplar of political
correctitude, being a small black boy, who, in the company of his
lovable pet pooch, righted social wrongs and put bad boys to flight.
Exactly why 'The Adventures of Johnny Foreigner and Dildo the Dog'
had so far failed to impress prospective publishers was quite
beyond him." --Robert Rankin, _Apocalypso_
>-----Original Message-----
>From: Brian Lloyd [mailto:Brian@digicool.com]
>Sent: 11. august 1999 23:21
>To: 'Alexander Staubo'; Zope Mailing List (E-mail)
>Subject: RE: [Zope] Copying and pasting Z Class instances
>
>
>> What kind of magic trick is required to copy and paste Z
>> Class instances
>> around in Zope 2.0.0b3?
>>
>> I have some instances (imported from Zope 1.x, if that's
>> relevant) that
>> steadfastly refuse to budge, giving the following error
>> message instead,
>> on paste or import, or even sometimes delete:
>>
>> The object [object ID] does not support this operation
>
>You're not talking about the ZClass objects themselves, are
>you? The actual ZClass objects can't be copied/moved (for
>a number of reasons that get pretty hairy).
>
>You *should* be able to copy/move *instances* of your
>ZClasses though - if not, can you send a copy of the actual
>traceback you are getting so we can look into it further?
>
>
>Brian Lloyd brian@digicool.com
>Software Engineer 540.371.6909
>Digital Creations http://www.digicool.com
>
>