[TYPO3-core] RFC #16302: Template module crashes, if no template exists on a page

Ernesto Baschny [cron IT] ernst at cron-it.de
Tue Nov 9 15:21:05 CET 2010


Andreas Kiessling schrieb am 08.11.2010 12:04:

>> I don't know which place would be the best to ensure that $tplRow is an
>> array.
>> Maybe it would be best to let ext_getFirstTemplate not return false but
>> an empty array?
>>
> 
> what about v3?
> The function that is called is just below and parses the fields. If
> there is nothing to parse, we don't need to call it.

Only reproduceable if you set "displayError=1" (which in turn leaves
exceptionalErrors=on, generating an exception on that situation).

+1 by reading and testing.

Committed to trunk rev 9318+9319 (for 4.5.0 beta1). The 9319 was just a
CGL follow-up.

Cheers,
Ernesto



More information about the TYPO3-team-core mailing list