[Zope-dev] Zope 2.4.0 CopySupport changes seem wrong

Steve Alexander steve@cat-box.net
Wed, 25 Jul 2001 12:32:39 +0100


Toby Dickenson wrote:
> 
> The article describes a ZODB-hosted object which is a link to a file
> in the filesystem. The author wants the file deleted when the object
> is deleted, and not when it is renamed. 

> A better solution to this
> problem involves deferring the file deletion until the end of the
> transaction, and only doing it if the link was not resurrected in
> another object.

This is how ZPatterns works.

This will also be very straightforward to do with the TransactionAgents 
product that I'm polishing up with unit tests as I type. I'll 
*definitely* release it before the end of today.

--
Steve Alexander
Software Engineer
Cat-Box limited