Project

General

Profile

Actions

Bug #97961

closed

Transform `tableoptions` early to valid `doctrine/dbal` option

Added by Stefan Bürk over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-07-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

With #80398 support to set `tableoptions` to proper charset and
collate has been added. This setting has been passed through the
`doctrine/dbal` connection params and manually set to the schema
config for database compare, if it has been set.

The choosen key `tableoptions` however is not the valid key for
`doctrine/dbal` connection params. `doctrine/dbal` ships proper
phpstan/psalm type defitions for the param array nowerdays.

Raising dependency version for doctrine/dbal and phpstan leads to
error reporting of this hackish missuse to transport the settings
from Typo3 database configuration to the schema migrator config.


Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Feature #80398: Make default charset and collation for new tables configurableClosed2017-03-22

Actions
Related to TYPO3 Core - Task #97956: Bump the Doctrine dependenciesClosed2022-07-16

Actions
Related to TYPO3 Core - Task #105289: Mitigate deprecated Doctrine DBAL connection optionsClosedStefan Bürk2024-10-12

Actions
Related to TYPO3 Core - Task #105297: Deprecate `tableoptions` and `collate` connection configurationClosedStefan Bürk2024-10-13

Actions
Actions

Also available in: Atom PDF