Project

General

Profile

Actions

Bug #46497

closed

FAL Upgrade Wizard does not set the pid / sys_file_reference is placed on rootlevel

Added by Benni Mack about 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2013-03-21
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The sys_file_reference records are originally set to be placed on rootLevel, the upgrade wizard does exactly that.

However, the concept in this case is flawed
  • When creating new sys_file_reference records via IRRE, the sys_file_reference is stored on the page
  • When copying moving e.g. a tt_content record, all its child elements are placed on that new page as well (so this works)
  • rootLevel restriction is not needed in this case
The patch does the following:
  • Modify the existing upgrade wizard to place the sys_file_references on the pages of the foreign tables (tt_content pid)
  • the rootLevel flag for sys_file_reference is removed
  • Add a new upgrade wizard is added to ensure the integrity of the sys-file-reference pids

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #44752: migrated files are not in filelist (tt_content-images , pages-media) - be_user (non admin !?)Closed2013-01-23

Actions
Actions

Also available in: Atom PDF