Re: DiskFile not cloned when published

Racinet Georges <[email protected]> Tue, 19 May 2009 17:16:04 +0200
Newsgroups gmane.comp.web.zope.cps.devel
Message-ID <[email protected]>
On May 19, 2009, at 4:21 PM, Christophe Combelles wrote:

> Christophe Combelles a =E9crit :
>> Racinet Georges a =E9crit :
>>>
>>> On May 12, 2009, at 5:40 PM, Christophe Combelles wrote:
>>>
>>>> Thanks, I've finally backported some fixes for StorageAdapter,  =

>>>> which was overwriting too many fields during a document update.
>
> There is a remaining bug with DiskFile, even on CPS 3.4.8.

Thanks for the report, Christophe.

Such detailed issue should belong int the trac : http://svn.nuxeo.org/trac/=
pub =

  (log in as tracguest/tracguest)
If you eventually have a patch for this, I'd be glad to check it in.

>
>
> Christophe
>
>
>>>
>>> Wow, I remember those fixes, one of the last generic work on CPS  =

>>> I've done as a Nuxeo employee,
>>> The primary goal was to avoid useless writes in LDAP backing  =

>>> directories, while still being able to update a meta directory  =

>>> upstairs (for CPS specific fields that would be stored in another  =

>>> - ZODB - backing).
>>>
>>> Did you backport this on your project for directories or  =

>>> documents ? I've always wondered what the overall (positive, I  =

>>> hope) performance impact in the case of documents would be, and  =

>>> never had a chance to measure that.  Any numbers to share ?
>> I've backported it for CPSDocuments, to avoid dataloss with  =

>> DiskFile objects overwriting an already  published file. This is  =

>> not related to performance so I didn't measure anything.
>>>
>>> Cheers,
>>>
>>> -- =

>>> Georges Racinet, http://www.racinet.fr
>>> Zope/CPS/Plone expertise, assistance & development
>>> GPG: 0x4862FFF7
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> cps-devel mailing list
>>> http://lists.nuxeo.com/mailman/listinfo/cps-devel
>>>
>>>
>> _______________________________________________
>> cps-devel mailing list
>> http://lists.nuxeo.com/mailman/listinfo/cps-devel
>
> _______________________________________________
> cps-devel mailing list
> http://lists.nuxeo.com/mailman/listinfo/cps-devel

--
Georges Racinet, http://www.racinet.fr
Zope/CPS/Plone expertise, assistance & development
GPG: 0x4862FFF7







_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel