[BUGFIX] Also check if cache files are not empty
authorJigal van Hemert <jigal@xs4all.nl>
Thu, 18 Aug 2011 21:23:10 +0000 (23:23 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 20 Aug 2011 09:53:49 +0000 (11:53 +0200)
commit3af185b634a1363daeda88bcedc6cd20069e733a
treeb7f643dfbf973784e7a0be0d2ae7c5fb24340e29
parent1ad22381735f7bb65273b973e5326e1a8b2b3e43
[BUGFIX] Also check if cache files are not empty

If the temp_CACHED* files exist, but they are empty a lot of functions
produce incorrect result due to missing TCA data. Checking the fileSize
prevents the use of empty cache files.

Change-Id: I855034048eca142153badd2567fb2bf6dfbc2629
Resolves: #29075
Branches: 4.6, 4.5, 4.4, 4.3
Reviewed-on: http://review.typo3.org/4420
Reviewed-by: Björn Pedersen
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
t3lib/class.t3lib_extmgm.php