[Fwd: Re: [Zope] clipboard pb]
francois
francois.cauchois at adp3i.fr
Thu Jan 22 10:45:16 EST 2004
thanx for your reply,
your reply made me test my script again .
then, I realized I got problem when i used 'return' command.
i test this script which outlines this problem :
script:
homeFolder = context
for n in names_containers:
h = str(context.ZopeTime().strftime('%S'))
rep = '%s-new-%s' % (n,h)
if not hasattr(homeFolder, rep):
homeFolder.invokeFactory(type_name='Folder container', id=rep,
title=n)
return printed
... it runs well with Mozilla .... but .... the problem comes back with
konqueror - when there is a return string, konqueror ask for openning a text
viewing program which reposts the initial request again (if I click on
'Open' ) !
>On Tue, Jan 20, 2004 at 05:47:00PM +0100, francois wrote:
>> hello,
>> I got a problem with copy container support.
>> I'm trying to use manage_copyObjects() and manage_pasteObjects() to migrate
my
>> old Zope member folders into new folders.
>> I copied all content of the old folder, I created a new folder and I pasted
>> the clipboard in. but my problem is, zope duplicate the object in the new
>> folder : for example if i got a file object with 'zz' id in the first
>> folder , Zope give me in the new folder : 'zz' .. and 'copy_of_zz'.
>
>That will happen if you run this script more than once.
>I didn't spot anything wrong with it.
>
>--
>
>Paul Winkler
>http://www.slinkp.com
>Look! Up in the sky! It's ULTRA GUY OF THE DEEP!
>(random hero from isometric.spaceninja.com)
More information about the Zope
mailing list