[TYPO3-core] FYI: Fixed bug: Page TSconfig isn't parsed correctly anymore after cleanup in Trunk

Oliver Hader oh at inpublica.de
Tue Sep 25 14:28:01 CEST 2007


FYI: The following bugfix was committed to SVN Trunk today.

Problem:
Page TSconfig doesn't work correctly anymore after cached files in
typo3conf were removed and rebuilt.

Solution:
After a cleanup of t3lib_BEfunc in revision 2516, the method
t3lib_BEfunc::getHash was changed to the following:
| return is_array($row) ? $row['content'] : '';

However, in t3lib_BEfunc this is called and checked with the isset
function, e.g. isset(t3lib_BEfunc::getHash(...)) and isset('') returns
true - thus, the Page TSconfig wasn't parsed anymore.
The fix was to change the empty string '' to null.

Comments:
Only Trunks was affected.


olly
-- 
Oliver Hader
http://inpublica.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t3lib_befunc_gethash.patch
Type: text/x-diff
Size: 438 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070925/fe8f2da4/attachment.patch 


More information about the TYPO3-team-core mailing list