Project

General

Profile

Actions

Bug #58898

closed

Install tool migration step to convert file links fails with exception

Added by Klaus Hinum almost 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2014-05-18
Due date:
% Done:

100%

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

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)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #62307: RteFileLinksUpdateWizard.php only handles spaces, no other 'special' charactersClosed2014-10-17

Actions
Actions #1

Updated by Markus Klein almost 10 years ago

Well this means that your refindex is not up to date.

Actions #2

Updated by Gerrit Code Review over 9 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

Actions #3

Updated by Gerrit Code Review over 9 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

Actions #4

Updated by Gerrit Code Review over 9 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

Actions #5

Updated by Mattias Nilsson over 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF