Bug #58898
closedInstall tool migration step to convert file links fails with exception
100%
Description
on line 180 of
RteFileLinksUpdateWizard.php
the code only checks if NULL is returned from the exec_SELECTgetSingleRow function, but it looks like it returns "false" (at least in my case).
Changing line 180 to
if ($record !== NULL and $record!==false) {
lets the wizard run through
original code:
// Get the current record based on the sys_refindex information
$record = $GLOBALS['TYPO3_DB']->exec_SELECTgetSingleRow(
'uid, ' . $reference['field'],
$reference['tablename'],
'uid = ' . $reference['recuid']
);
if ($record !== NULL)
Error message of Typo3 6.2 wizard
#1: PHP Catchable Fatal Error: Argument 2 passed to TYPO3\CMS\Install\Updates\RteFileLinksUpdateWizard::convertFileLinks() must be of the type array, boolean given, called in /var/www/html/typo3_sources/typo3_src-6.2.2/typo3/sysext/install/Classes/Updates/RteFileLinksUpdateWizard.php on line 182 and defined in /var/www/html/typo3_sources/typo3_src-6.2.2/typo3/sysext/install/Classes/Updates/RteFileLinksUpdateWizard.php line 197 (More information)