You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might be a Doctrine issue? The EXTRA_LAZY means "don't fetch this unless needed" ... but that should only be true for the first time that you try to fetch that data. After that first time, the following two times that value should already be fetched, right?
@javiereguiluz the thing is that EasyAdmin is mapped to a "virtual field" which does some calculation inside (Collection::count) and PersistedCollection with EXTRA_LAZY always executes count query.
Describe the bug
NumberField on OneToMany (EXTRA_LAZY) triples number of queries.
This is because method that is used to display field is called 3x.
On "virtual" field.
It's called from
To Reproduce
Version: v4.0.10
Entity, with OneToMany, EXTRA_LAZY
(OPTIONAL) Additional context
With EXTRA_LAZY
Without EXTRA_LAZY
The text was updated successfully, but these errors were encountered: