Project

General

Profile

Actions

Bug #78892

closed

Newlines in static database data cause SQL error during install wizard

Added by Joschi Kuphal almost 8 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Install Tool
Target version:
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 #1

Updated by Benni Mack almost 8 years ago

  • Target version changed from 8.5 to 8.6
Actions #2

Updated by Benni Mack almost 8 years ago

  • Target version changed from 8.6 to 8 LTS
Actions #3

Updated by Thomas Hohn over 7 years ago

  • Assignee set to Thomas Hohn
  • Sprint Focus set to Stabilization Sprint
Actions #4

Updated by Thomas Hohn over 7 years ago

  • Status changed from New to In Progress
Actions #5

Updated by Gerrit Code Review over 7 years ago

  • Status changed from In Progress to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51854

Actions #6

Updated by Gerrit Code Review over 7 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51854

Actions #7

Updated by Gerrit Code Review over 7 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51854

Actions #8

Updated by Gerrit Code Review over 7 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51854

Actions #9

Updated by Thomas Hohn over 7 years ago

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

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF