Project

General

Profile

Actions

Task #105279

closed

Replace TYPO3 `EnumType` with doctrine/dbal type

Added by Stefan Bürk 17 days ago. Updated 13 days ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2024-10-11
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Doctrine DBAL 4.2.0 implemented the `EnumType`, which TYPO3
provides already for a long time. The way it has been added
breakes the TYPO3 implementation.

The TYPO3 implementation does not supported other dbms then
MariaDB/MySQL. The new DBAL implementation does not contain
a fully working replacement retrieving the same type again.
At least database analyzer benefits from the Doctrine DBAL
type and can create compatible fields for database systems
not having native `ENUM` support when replaced. Thus, type
implementation is now switched using the dbal implementation.
Thus, adding replacement code at different places can be
avoided, keeping the current state and even improving it
slightly.

[1] https://github.com/doctrine/dbal/releases/tag/4.2.0


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Task #105294: Align custom `SetType` doctrine type implementationClosedStefan Bürk2024-10-13

Actions
Related to TYPO3 Core - Bug #105295: Add missing class alias map registrationClosedStefan Bürk2024-10-13

Actions
Related to TYPO3 Core - Task #105458: Remove legacy class aliasesResolved2024-10-25

Actions
Actions

Also available in: Atom PDF