Bug #87827

Wrong default database charset applied

Added by Nicole Cordes 5 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2019-03-03
Due date:
% Done:

100%

TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

With the patch https://review.typo3.org/c/Packages/TYPO3.CMS/+/59323 an empty default charset if not defined. However before the default charset was ensured be to set to 'utf8'.


Related issues

Related to TYPO3 Core - Bug #85524: Charset for DB Connections in LocalConfiguration.php ignored Closed 2018-07-09

Associated revisions

Revision bd1ea509 (diff)
Added by Nicole Cordes 4 months ago

[BUGFIX] Ensure correct default database charset

This patch ensures the default charset for the database connection is
set to "utf8".

The charset would normally be set by the SilentConfigurationUpgradeService
but it might be unset when $GLOBALS['TYPO3_CONF_VARS']['DB'] is
overwritten in AdditionalConfiguration.php.

Releases: 8.7
Resolves: #87827
Related: #85524
Change-Id: Ifc630d479866889959fe69ceb213439b8ce734f7
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/59835
Tested-by: Benjamin Franzke <>
Tested-by: TYPO3com <>
Tested-by: Nicole Cordes <>
Tested-by: Benni Mack <>
Reviewed-by: Benjamin Franzke <>
Reviewed-by: Oliver Klee <>
Reviewed-by: Sascha Egerer <>
Reviewed-by: Nicole Cordes <>
Reviewed-by: Benni Mack <>

History

#1 Updated by Nicole Cordes 5 months ago

  • Related to Bug #85524: Charset for DB Connections in LocalConfiguration.php ignored added

#2 Updated by Gerrit Code Review 5 months ago

  • Status changed from New to Under Review

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59835

#3 Updated by Gerrit Code Review 4 months ago

Patch set 2 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59835

#4 Updated by Nicole Cordes 4 months ago

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

#5 Updated by Benni Mack 2 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF