Bug #82068

Install tool wizard Migrate all file relations from fe_user not visible

Added by Bernhard Eckl 2 months ago. Updated about 1 month ago.

Status:
Needs Feedback
Priority:
Must have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2017-08-09
Due date:
% Done:

0%

TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I upgraded from 7.6.16 to 8.7.4 but in the install tool I can not find the upgrade wizard: Migrate all file relations from fe_user.
See: https://docs.typo3.org/typo3cms/extensions/core/8.7/Changelog/8.3/Breaking-74375-Fe_usersimageMigratedToFAL.html

Bildschirmfoto 2017-09-07 um 14.54.05.png View (171 KB) Bernhard Eckl, 2017-09-07 14:56

History

#1 Updated by Wouter Wolters about 2 months ago

  • Status changed from New to Needs Feedback

The update wizard is named as FrontendUserImageUpdateWizard, can you find that class?

#2 Updated by Bernhard Eckl about 1 month ago

Sure, I did not change the coreā€¦ but the wizard is not shown in the install tool. Is there a condition for that?

#3 Updated by Bernhard Eckl about 1 month ago

Have a look at the screenshot.

#4 Updated by Bernhard Eckl about 1 month ago

I finally got it migrated now. The following things I had to do:

- in public function checkForUpdate, line 138:

    return true;

otherwise the wizard would not be shown at all

- in protected function migrateField, line 298:
comment the line

$file = $this->storage->getFile($this->targetPath . $item);

and instead

$resourceFactory = \TYPO3\CMS\Core\Resource\ResourceFactory::getInstance();
$storage1 = $resourceFactory->getStorageObject(1);
$file = $storage1->getFile($this->targetPath . $item);

Otherwise no files where found.

Btw $storageUid = (int)$this->storage->getUid(); alwas returned 2, but it should be 1 (1 is my public storage named files, not fileadmin, 2 is a non public storage).

It seems that this migration wizard is buggy. Is there noone else having such difficulties with it?

Also available in: Atom PDF