Bug #78250
closedDatabase analyzer can't create table with dbal in native mode
100%
Description
Following steps should be necessary to reproduce the problem:
1) activate dbal
2) install news extension
expected result:
news should be installed and database tables should be generated
actual result:
no tables are generated
Go to Install Tool and run the database analyzer. it will show the necessary tables for news. Trying to execute those gives error message "Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'C' at line 1".
After having a look into dbal I found the problem. \TYPO3\CMS\Dbal\Database\DatabaseConnection::admin_query expects the CREATETABLE type to return an array. Instead a string was return but $string0 was taken as sql query.
Updated by Gerrit Code Review about 8 years ago
- Status changed from New to Under Review
Patch set 2 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50189
Updated by Nicole Cordes about 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 3b7e6042ed443ebf4faf19eae7e2f74965e9fbee.