[BUGFIX] Also check if cache files are not empty
authorJigal van Hemert <jigal@xs4all.nl>
Sat, 20 Aug 2011 14:36:05 +0000 (16:36 +0200)
committerJigal van Hemert <jigal@xs4all.nl>
Sun, 21 Aug 2011 13:10:55 +0000 (15:10 +0200)
commit571f98317fb2f54f1017749714f7722e3b51a70c
treee3c28a54725ac500e05cc24aad7a87f456b0cc68
parentf9384d573d259b4ece2aeb2ab3e8022c8bd20824
[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: I6c1ce468bfeec88bf8445e64e7b1bd6387f117f7
Resolves: #29075
Branches: 4.5
Reviewed-on: http://review.typo3.org/4435
Reviewed-by: Christian Kuhn
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
t3lib/class.t3lib_extmgm.php