Bug #42346
closedCOMPARE in "Database Analyser" in Install tool crasches
100%
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
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
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?
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".
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.
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
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
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
Updated by Mattias Nilsson over 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f8b62a4519ca7574e1b043f9829f2c3ce1b7f925.
Updated by Riccardo De Contardi over 6 years ago
- Status changed from Resolved to Closed