Project

General

Profile

Actions

Bug #56649

closed

Migration wizzard should ignore deleted records

Added by Torben Hansen about 10 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2014-03-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

I've migrated a small website from TYPO4 4.5 to TYPO3 6.2beta6.

When I run the migration wizzard and come to the step, where RTE-enabled fields get migrated to FAL, the wizzard reports that the update failed.

The reason for the failure is trivial. A tt_content record is marked as deleted and contains a reference to a deleted image in the "bodytext" column. Actually the image and the tt_content record has been deleted years ago.

I get a similar problem when the migration wizzard checks for deprecated RTE properties in Page TSconfig. When you have a deleted page, which contains deprecated properties, the migration wizzard prints, that the update failed and the deprecated properties have to be removed manually.

I could fix the problems by manually removing the tt_content and pages record in the database and re-run the migration steps, but this is'nt actually a suitable solution.

IMHO the migration wizzard should just ignore deleted records (e.g. pages, tt_content), so the migration process only shows errors/failures, which affect non-deleted records.

Actions #1

Updated by Markus Klein about 10 years ago

I basically agree, but if you restore the record some time later, which you always can, then your data is not migrated there.

We've to decide what we want.

Actions #2

Updated by Stefano Kowalke about 10 years ago

You could add a flag like

[ ] I like to migrate all data (includes also content which is marked as deleted)
[ ] I like to migrate only current available data

Actions #3

Updated by Mathias Schreiber about 9 years ago

  • Status changed from New to Closed

Out of scope.
Like Markus already explained, the system does not know (or care) when a record has been deleted.
Prior to migration you should delete unused data.

Actions

Also available in: Atom PDF