Project

General

Profile

Actions

Bug #98707

closed

Add temporarily workaround for changed doctrine/dbal behaviour

Added by Stefan Bürk over 1 year ago. Updated over 1 year ago.

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

100%

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

Description

doctrine/dbal is working on deprecating and changing code and behaviour
in 3.x as preparation for removal in 4.x. With doctrine/dbal v3.5.0 the
table rename detection in the TYPO3 database compare no longer works as
expected. TableDiff got a `isEmpty()` check, which is used in SchemaDiff
and thus filtering out "renamed" tables without further changes, leading
to a change of behaviour. doctrine/dbal favours renaming table no longer
by setting a new name in the TableDiff, thus not having the changed name
in the `isEmpty()` check.

See: https://github.com/doctrine/dbal/pull/5770


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #99261: Undefined array key 0 in ConnectionMigrator.php ClosedStefan Bürk2022-12-03

Actions
Actions

Also available in: Atom PDF