mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
No alias gathered from createSqlForFinalizer() #7457
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Bypus on GitHub (Jan 3, 2025).
Bug Report
Summary
SQLIdentifier is empty
Current behavior
When trying to gather the list of users with FOSUserBundle and SonataUser, $sqlIdentifier is empty, resulting in a query with nothing after DISTINCT:
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT FROM (SELECTExpected behavior
Expected a list of aliases after DISTINCT
How to reproduce
Check for list of users from SonataAdminBundle interface
Here are the informations I gathered:
In CountOutputWalker:
$fromRoot:
$rootAlias:
$rootClass:
This is my composer.json: