Actions
Bug #53845
closedEpic #24849: Upgrade Wizard Usability
Enhance TCA - FAL migration for tt_content
Start date:
2013-11-21
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
The upgrade wizard to migrate the fields like e.g. tt_content->image and pages->media
fetches all records of each table and loops over them. This is basic, and not very clever,
especially when the max_execution_time is less than the upgrade wizards needs to process
all fields or if the memory_limit is reached because ALL of the records are fetched.
- As all TCA value are switched from text to integer (the value itself, not the DB field yet)
the check is done to only fetch records that are not empty, not integer (and not deleted).
This reduces the memory footprint massively. - The check for a record is now done for each table and then for each field of the table
(as the SQL has been changed). - The field is only marked as "done" if no more records were found in the migration run.
The migration wizard can now be run multiple times (and the counter shows how many
records are left).
Actions