[TYPO3-core] RFC #12132: Bug: Scheduler: Check for incomplete objects before using them

Francois Suter fsu-lists at cobweb.ch
Mon Oct 12 22:58:06 CEST 2009


Hi,

> Solution:
> Introduce proper tests whenever a task object is unserialized and 
> display errors, throw exceptions or interrupt process as appropriate.

I just found out that errors also happened when trying to remove the 
"broken" task. The attached patch includes a fix for this too.

The idea here is that if a task cannot be unserialized, the 
corresponding database record will be "manually" deleted, instead of 
going through the API (actually the API call does the same thing for 
now, be I can imagine that it could do more in the future, but only with 
a valid task).

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug12132_v2.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20091012/c83bf195/attachment-0001.txt 


More information about the TYPO3-team-core mailing list