Project

General

Profile

Actions

Bug #53845

closed

Epic #24849: Upgrade Wizard Usability

Enhance TCA - FAL migration for tt_content

Added by Benni Mack over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Install Tool
Target version:
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.

Thus, the patch modifies the behaviour in the following ways:
  • 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).


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #53891: Upgrade Wizard "Migrate file relations" should hide itselfClosed2013-11-22

Actions
Related to TYPO3 Core - Bug #54442: Migrate RTE magic images fails on duplicates Closed2013-12-16

Actions
Related to TYPO3 Core - Bug #54457: InstallWizardDoneSettings in LocalConfiguration uses old class namesClosedMarkus Klein2013-12-16

Actions
Actions

Also available in: Atom PDF