mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
2.17.0 Undefined array key in IdentifierFlattener #7264
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 @ppaulis on GitHub (Nov 29, 2023).
Bug Report
Summary
When upgrading from 2.16.3 to 2.17.0, I get the following error when calling
findAll()on theEntityRepository:I'm using the Doctrine in combination with Laminas API Tools, through the Doctrine ORM Module
5.3.0.It seems that the array on line 80 is empty :
Current behavior
EntityRepository::findAll()triggers a warningHow to reproduce
Expected behavior
I would have expected
findAll()not to trigger this warning. If there is simply anarray_key_exists()call missing, I can gladly submit a PR for this. But perhaps I'm missing something here. Any hint is appreciated!Thanks,
Pascal
@dbannik commented on GitHub (Nov 29, 2023):
Look at this problem https://github.com/doctrine/orm/issues/11091, this can happen when featch=EAGER
@ppaulis commented on GitHub (Nov 30, 2023):
@dbannik nice, thank you :-) you already did a lot of digging there 👍