Skip to content

[TMP] IBX-12043: Upgraded to Doctrine DBAL 4 - #35

Open
ViniTou wants to merge 2 commits into
6.0from
dbal-4-upgrade
Open

[TMP] IBX-12043: Upgraded to Doctrine DBAL 4#35
ViniTou wants to merge 2 commits into
6.0from
dbal-4-upgrade

Conversation

@ViniTou

@ViniTou ViniTou commented Aug 6, 2026

Copy link
Copy Markdown
Contributor
🎫 Issue IBX-12043

Related PRs:

Important

The [TMP] commit pins ibexa/core and ibexa/doctrine-schema to their dbal-4-upgrade branches. Revert it once those PRs merge.

Description:

ibexa/test-core pins doctrine/dbal to 3.x, and every package's integration tests boot its kernel, so it has to move before they can.

DBAL 4 removed the event system, so setEventManager() no longer exists on Ibexa's database platforms. It also removed the platform connection parameter, which is what DoctrineBundle's platform_service sets — deprecated in doctrine-bundle 2.9 for exactly that reason. Neither failed loudly: the connection accepted the setting and silently returned the stock platform. Ibexa platforms are resolved explicitly where DDL is generated (see DbPlatformFactory in ibexa/core#800).

For QA:

Test infrastructure only. Worth confirming a downstream package's integration tests still boot against MySQL, MariaDB and PostgreSQL.

Documentation:

N/A

@ViniTou ViniTou changed the title IBX-12043: Upgrade to Doctrine DBAL 4 [TMP] IBX-12043: Upgraded to Doctrine DBAL 4 Aug 7, 2026
ViniTou added 2 commits August 7, 2026 07:50
DBAL 4 removed the event system and the "platform" connection parameter, so the test kernel can no longer call setEventManager() on Ibexa's platforms or attach them via DoctrineBundle's platform_service.
Points ibexa/core, ibexa/doctrine-schema at their dbal-4-upgrade branches so this one can resolve before they are merged. Revert this commit once they are.
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.

1 participant