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)
Updated by Markus Klein over 10 years ago
Well this means that your refindex is not up to date.
Updated by Gerrit Code Review about 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/31931
Updated by Gerrit Code Review about 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/31931
Updated by Gerrit Code Review about 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/31933
Updated by Mattias Nilsson about 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 92456f6539ee6b8f76345b9b158f963f572ce390.