Actions
Bug #78892
closedNewlines in static database data cause SQL error during install wizard
Start date:
2016-12-05
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Stabilization Sprint
Description
When running the install wizard for a fresh TYPO3 8.4.1 installation, there's a problem with static SQL data containing newlines. The problem didn't exist in TYPO3 7.x (and possibly before), I didn't test TYPO3 8.0-8.3 though.
Easy way to reproduce: Before running the install wizard, edit typo3/sysext/extensionmanager/ext_tables_static+adt.sql
and insert a newline into the SQL statement.
INSERT INTO tx_extensionmanager_domain_model_repository VALUES ('1', '0', 'TYPO3.org Main Repository', 'Main repository on typo3.org. This repository has some mirrors configured which are available with the mirror url.', 'https://typo3.org/wsdl/tx_ter_wsdl.php', 'https://repositories.typo3.org/mirrors.xml.gz', '1346191200', '0');
When submitting the "create admin user step" an SQL error like in the attached screenshot will occur.
Files
Actions