mneuhaus/TYPO3.Fluid — pull request #16 by mneuhaus-bot (2014-03-24 23:35:10+00:00)
Title: [TASK] WSOD by changing name of section and if Fluid caches are generated (Revision 1)

If you change the name of some section in your Layout and caches were
generated before this change, then you get WSOD with following message
in php log file:
PHP Fatal error: Call to undefined method
FluidCache_Vendor_PackageName_Standard_action_index_bb47a7064d2c509f0bd5f35af56ae64023f35f04
::section_3065c96e28893f22b707315d76eb3c0794993450()
in
./Packages/Framework/TYPO3.Fluid/Classes/TYPO3/Fluid/View/AbstractTemplateView.php on line 247

as you can see Fluid tries to call section_3065c96e28893f22b707315d76eb3c0794993450()
[also 'section_' . sha1($sectionName)]

Fluid makes no checking if layout file was changed and no check if method exists.

Fluid should throw an exception on this place instead of WSOD.

Change-Id: I87c8cbbcd15b58501d20dd6d8054b55fa7ae5808
Fixes: #50888
Revision-Id: c4fc36838551951e99d1a5dd6507a6e9f4d79c0d