[TYPO3-core] RFC: fix for bug #3097 (EM leaves mirror* files on failure)

Karsten Dambekalns karsten at typo3.org
Mon Apr 3 11:00:16 CEST 2006


Hi.

BT ref: http://bugs.typo3.org/view.php?id=3097

Problem: If EM fails to load a list of mirror, it leaves mirror* file in the 
typo3temp. Thus after 10 displays of "Settings" page there will be 10 empty 
mirror* files.

Solution: Remove the file created by tempnam if the download fails.

The patch adds clearer error message, too.

Karsten
-- 
Karsten Dambekalns
TYPO3 Association - Active Member
http://association.typo3.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug-3097.patch
Type: text/x-diff
Size: 3462 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060403/29a1dc84/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 309 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060403/29a1dc84/attachment.pgp 


More information about the TYPO3-team-core mailing list