[PR #10475] Allow multiple criterias on the same property. #12389

Closed
opened 2026-01-22 16:13:54 +01:00 by admin · 0 comments
Owner

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

State: closed
Merged: No


When adding multiple criteria referencing the same field, the query builder returnes an error.
The fix is passing existing parameters from previous parameters to every new insteance of QueryExpressionVisitor.
Fixes #8702

Ensure unique test entity name, and sync criteria field name with entity property.

**Original Pull Request:** https://github.com/doctrine/orm/pull/10475 **State:** closed **Merged:** No --- When adding multiple criteria referencing the same field, the query builder returnes an error. The fix is passing existing parameters from previous parameters to every new insteance of QueryExpressionVisitor. Fixes [#8702](https://github.com/doctrine/orm/issues/8702) Ensure unique test entity name, and sync criteria field name with entity property.
admin added the pull-request label 2026-01-22 16:13:54 +01:00
admin closed this issue 2026-01-22 16:13:54 +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#12389