[BUGFIX] Prevent infinite loop in TceformsUpdateWizard 32/37032/6
authorNicole Cordes <typo3@cordes.co>
Fri, 20 Feb 2015 00:55:57 +0000 (01:55 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Mon, 2 Mar 2015 20:22:41 +0000 (21:22 +0100)
commit57f749d1fec1fa4964f37627ec9868cfdfbd4382
treeae4cce20d831bfb8594e383e77a575ef7a8d1f5a
parent23b8d74a4a67c02b3ca24f6d406a6ac0196c3189
[BUGFIX] Prevent infinite loop in TceformsUpdateWizard

If you have more than 1000 missing files within file relations in
tt_content.image and pages.media an infinite loop pops up, because
always the same records are fetched from database. This patch stores
the uids of failed records for each table to prevent the infinite loop
and restart processing after timeout.

Releases: 6.2
Resolves: #57393
Change-Id: I559be13efe88ae3111321dafb8d6a79886f903ae
Reviewed-on: http://review.typo3.org/37032
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Göran Bodenschatz <coding@46halbe.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/install/Classes/Updates/TceformsUpdateWizard.php