#105959Typed property Doctrine\DBAL\Schema\ColumnDiff::$newColumn must not be accessed before initialization
Description
Database related structure changes (Database Analyzer, Functional Tests, extension:setup, …)
fails with
> Typed property Doctrine\DBAL\Schema\ColumnDiff::$newColumn must not be accessed before initialization
error with Doctrine DBAL 4.2.2.
Composer instances are the only instances able to get the Doctrine DBAL 4.2.2 or higher in and could
mitigate this by adding Doctrine DBAL 4.2.2 as conflict to their root composer.json.
TYPO3 needs to adopt the new missing to the extended ColumnDiff to avoid the aforementioned error.
Composer based instances can use
composer require "doctrine/dbal":"<4.2.2"
to avoid the conflict and removing it when updating to
the TYPO3 version containing the raise and fix.
[1] https://github.com/doctrine/dbal/releases/tag/4.2.2
2 https://github.com/doctrine/dbal/pull/6693
Reviews 3
History 26
-
Gerrit Code Review pushed patch set 1 for main to change 87791 status
NewUnder Review <span data-processor="relativetime" data-value="2025-01-17T15:36:43+00:00" > 01/17/25, 15:36 </span> -
Gerrit Code Review pushed patch set 2 for main to change 87791 <span data-processor="relativetime" data-value="2025-01-17T17:05:00+00:00" > 01/17/25, 17:05 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 87792 <span data-processor="relativetime" data-value="2025-01-17T17:13:48+00:00" > 01/17/25, 17:13 </span>
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 87801 <span data-processor="relativetime" data-value="2025-01-17T19:23:31+00:00" > 01/17/25, 19:23 </span>
-
Benjamin Franzke commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2025-01-17T19:40:12+00:00" > 01/17/25, 19:40 </span> -
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2025-12-02T14:26:44+00:00" > 12/02/25, 14:26 </span>
Applied in changeset commit:0142964943643856fb66b6a4b3bc2e184a689fe4.