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

Reinhard Führicht rf at typoheads.at
Tue Nov 9 09:20:14 CET 2010


Am 2010-11-08 22:45, schrieb Jeff Segars:
> On 11/8/10 5:08 AM, Reinhard Führicht wrote:
>> Am 2010-11-08 12:04, schrieb Andreas Kiessling:
>>> Hi,
>>>
>>>>
>>>> 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.
>>>
>>> Regards,
>>> Andreas
>>
>> That's right. I totally missed that. :-)
>>
>> So, yes, v3 is the best solution.
>>
>> Regards,
>> Reinhard
>
> +1 on reading and testing. Nice, simple solution :)
>
> Reinhard, do we have your official +1 for reading or testing also?
>
> Thanks,
> Jeff

Yes, +1 by reading and testing from my side too.

Regards,
Reinhard


More information about the TYPO3-team-core mailing list