[TYPO3-core] RFC #5932: Bug: page module not usable due to warning message with filemtime

Franz Holzinger franz at ttproducts.de
Mon Dec 22 13:58:41 CET 2008


Hello Steffen,

> Franz Holzinger schrieb:
>> I think the page module's thumbnail listing should already give this 
>> information which files were missing. It is fine to have another 
>> extension available (thanks for the info). But the debug and error 
>> messages should be shown already on the page module's output.
> 
> i don't agree. This is not the task of page module.
> As there is a cli-script of lowlevel doing this, I think it would make 
> sense to integrate this functionality to the DB-Check-module, so it's 
> possible without using cron to get a listing of lost references in BE.

The page module is only one example where the method 
t3lib_BEfunc::thumbCode is currently being used. This could be called 
from every backend extension (maybe in future also from FE ones).

It would therefore be fine if this method would return an error code or 
throw an exception in the case, when one file is not found. This would 
help to write better backend extensions. Even other extensions should be 
able to log such events.

- Franz



More information about the TYPO3-team-core mailing list