[imp] Attachments not being cleaned up on cancellations
Rick Irvine
irvine@purdue.edu
Thu, 15 Aug 2002 17:59:59 -0500 (EST)
IMP 3.1
Horde 2.1
RedHat 7.3 machines
Hello all,
Has anyone else noticed a behavior in their IMP installations whereby compose
windows with attached messages do not delete (call unlink) the mime attachment
if the cancel button is clicked?
I'm still learning PHP and don't know javascript, but it appears as if the
code for the send button correctly handles cleaning up the mime attachment(s);
whereas the cancel button just calls a javascript function to confirm the
cancellation and doesn't clean up the attachment file.
I checked bot RELENG and HEAD in CVS and they both appear to do this. (I
checked HEAD only by visual inspection of the code, they both appear to be
the same in that area.)
Any thoughts?
- Rick