25 Jul
2001
25 Jul
'01
11:32 a.m.
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