Actions
Bug #53728
closedSQL view crashes Database
Status:
Closed
Priority:
Must have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
Start date:
2013-11-18
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:
Description
Methods \TYPO3\CMS\Core\Database\DatabaseConnection::admin_get_fields()
and \TYPO3\CMS\Core\Database\DatabaseConnection::admin_get_keys()
lack a proper check on the result of the query to ensure that they indeed returned an object.
In particular this causes a crash in the Install Tool > Database Analyser > Compare function when a SQL view is present.
A check should be added. It already exists for similar methods \TYPO3\CMS\Core\Database\DatabaseConnection::admin_get_tables()
and \TYPO3\CMS\Core\Database\DatabaseConnection::admin_get_charsets()
.
This problem exists since the move to PDO.
Updated by Francois Suter about 11 years ago
- Status changed from Accepted to Closed
I was looking at TYPO3 6.1. The problem was solved in 6.2, but not backported.
Actions