Project

General

Profile

Actions

Bug #42346

closed

COMPARE in "Database Analyser" in Install tool crasches

Added by Mattias Nilsson over 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Install Tool
Target version:
Start date:
2012-10-24
Due date:
% Done:

100%

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

Description

When trying to use COMPARE (with the latest master for TYPO3 CMS 6.0) in "Database Analyser" in Install tool it crasches with the following error:

PHP Fatal error: Cannot use string offset as an array in /Applications/MAMP/htdocs/typo3_src-git/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 3875

Actions #1

Updated by Gerrit Code Review over 11 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/15923

Actions #2

Updated by Helmut Hummel over 11 years ago

Mattias Nilsson wrote:

When trying to use COMPARE (with the latest master for TYPO3 CMS 6.0) in "Database Analyser" in Install tool it crasches with the following error:

PHP Fatal error: Cannot use string offset as an array in /Applications/MAMP/htdocs/typo3_src-git/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 3875

Can you add some more hints how to reproduce this?
Do you have a specific extension installed which causes this?

Actions #3

Updated by Mattias Nilsson over 11 years ago

When entering Install Tool from backend and clicking on the menu item "Database analyzer" and then using the function "COMPARE", this error occurs.
I have currently only installed the Goverment Package other than the submodules from GIT. Both the frontend and backend works fine, the only time the error occurs is when using "COMPARE".

Actions #4

Updated by Christian Kuhn over 11 years ago

Hmm, I wonder why loadTCA is called for a table that does not exist, or that at least has no correct ctrl section. It would be nice to know the value of $table before here, maybe together with a full backtrace.

Still, the proposed patch sanitizes the method a bit and won't harm.

Actions #5

Updated by Gerrit Code Review over 11 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/15923

Actions #6

Updated by Gerrit Code Review over 11 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/15923

Actions #7

Updated by Gerrit Code Review over 11 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/15923

Actions #8

Updated by Mattias Nilsson over 11 years ago

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

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF