[PR #97] [DDC-1301] Fixed count() for fetch="EXTRA_LAZY" on OneToMany association #7706

Closed
opened 2026-01-22 15:56:27 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/97

State: closed
Merged: Yes


Ticket: http://www.doctrine-project.org/jira/browse/DDC-1301

The first commit adds (failing) tests and a set of "legacy" models. The second commit fixes the issue.

I added the legacy models because it may be useful to use them to verify some other features too? The count() function was broken, but it didn't show up in the tests because all the Cms models that were used for testing map the column id on $id.

**Original Pull Request:** https://github.com/doctrine/orm/pull/97 **State:** closed **Merged:** Yes --- Ticket: http://www.doctrine-project.org/jira/browse/DDC-1301 The first commit adds (failing) tests and a set of "legacy" models. The second commit fixes the issue. I added the legacy models because it may be useful to use them to verify some other features too? The count() function was broken, but it didn't show up in the tests because all the Cms models that were used for testing map the column `id` on $id.
admin added the pull-request label 2026-01-22 15:56:27 +01:00
admin closed this issue 2026-01-22 15:56:29 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#7706