Re: FileSystemStorage interaction with manage_copy|pasteObjects()

Cyrille Lebeaupin <[email protected]> Thu, 15 Jun 2006 09:35:09 +0200
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Message-ID <[email protected]>
Hi Andreas,

Andreas Jung wrote:
> 
> 
> --On 24. Mai 2006 09:34:16 +0200 Cyrille Lebeaupin
> <[email protected]> wrote:
> 
>> Hi Andreas,
>>
>> Andreas Jung wrote:
>>> Copying and pasting AT objects using FSS basically works fine as long as
>>> you copy the objects directly. How when you copy/paste a folder
>>> containing AT
>>> objects using FSS then the content on the filesystem is not copied over
>>> to the new object. I tried some hacks to workaround this problem however
>>> I got stuck at some point. Anyone having had similar problems or a
>>> solution for this issue?
>>
>>
>> Could you write a unit test that reproduce this bug ?
>> You can add it directly to the collective ?
>>
> 
> This issue is resolved so far. We have a version of FSS that allows you
> specify a storage prefix (acquired through a method getStoragePrefix())
> so you can use independent FSS storages for different Plone sites. In
> addition we the won't use a flat filesystem hierarchy but a two-level
> deep hierarchy based on the UID. 

Very good. So useful for btreefolder containing more than 1000 files. :-)

>Copy, Cut & Paste works fine so far. 

Thanks for your work.

> If you are interested we can give you the code which is currently in our
> internal SVN. We haven't spent any time on the changes in the UI because
> this is beyond our usecase.

I am very interested in your patch.

> 
> Andreas
> 

Best regards,

-- 
Cyrille Lebeaupin
INGENIWEB (TM) - S.A.S 50000 Euros - RC B 438 725 632
17, rue Louise Michel - 92300 Levallois Perret - France
Tél / Fax : + 33 1 47 57 39 14
web : www.ingeniweb.com - « les Services Web Ingénieux »