Skip to content

IBX-12043: Upgraded to Doctrine DBAL 4 - #100

Merged
ViniTou merged 1 commit into
6.0from
dbal-4-upgrade
Sep 3, 2026
Merged

ViniTou merged 1 commit into
6.0from
dbal-4-upgrade

Conversation

@ViniTou

@ViniTou ViniTou commented Aug 20, 2026

Copy link
Copy Markdown
Contributor
🎫 Issue IBX-12043

Related PRs:

Description:

ibexa/core pins doctrine/dbal, so DBAL 4 arrives here whether or not this package was ported. MigrateLegacyMatrixCommand is the only affected code, and it breaks in two ways that only surface when the command is actually run — which is why nothing failed in CI.

Two select() calls passed an array, where DBAL 4 takes the expressions variadically. Separately, PHPStan found what a text search would not: update() lost its second $alias parameter. Both call sites passed one and then referred to columns through that alias, so the alias is gone and the column references with it — SET data_int1 = ... rather than SET attr.data_int1 = .... That form is also the one PostgreSQL accepts, which the aliased version was not.

For QA:

php bin/console ibexa:migrate-legacy-matrix against a database holding legacy matrix field definitions, on MySQL and PostgreSQL. It should report and convert the same definitions and rows as before.

Documentation:

N/A

@ViniTou ViniTou changed the title [TMP] IBX-12043: Upgraded to Doctrine DBAL 4 IBX-12043: Upgraded to Doctrine DBAL 4 Sep 3, 2026
@sonarqubecloud

sonarqubecloud Bot commented Sep 3, 2026

Copy link
Copy Markdown

@ViniTou
ViniTou merged commit 9152261 into 6.0 Sep 3, 2026
15 of 16 checks passed
@ViniTou
ViniTou deleted the dbal-4-upgrade branch September 3, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants