[TYPO3-core] FYI #13869: Bug/Cleanup: Scheduler: editTasks() calls all registered tasks to edit just one

Francois Suter fsu-lists at cobweb.ch
Sat Apr 3 15:27:06 CEST 2010


FYI: the attached patch was committed to trunk in revision 7236

Type: Bug/Cleanup

Bugtracker references:
http://bugs.typo3.org/view.php?id=13869

Branches:
Trunk

Problem:
When a task is edited in the Scheduler, the additional fields for all 
task classes are prepared, which is useless since the task class cannot 
be changed.

Solution:
Prepare only the additional fields for the current task class.

Notes:
The original report mentions this as a bug, because there's a fatal 
error from some other task when editing a given task. This was caused by 
the other extension and the Scheduler can't do anything about it.
However it is true that it's not necessary to load all those extra 
fields. Thus I consider this patch to be just a cleanup and did not 
commit to 4.3, although it could be safely applied to that branch too.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug13869.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100403/fa890d35/attachment.txt>


More information about the TYPO3-team-core mailing list