-
-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not valid filtering by DateTime for ArrayCollection #93
Comments
This is normal behavior: comparing object fields will never work, since we Marco Pivetta On Tue, Sep 6, 2016 at 9:55 AM, vvasilenok [email protected] wrote:
|
Possibly add a not strict comparison? or replace current comparison to not strict? Or for DateTime use toString method? |
non-strict comparison in PHP crashes with segfaults when there are infinite cycles/recursive data structures :-( |
But with strict comparison need write this code for correct work
I think this behavior is not expected when you use criteria |
I really don't like this kind of freak but this solution work for me:
I needed something that work if $this->meta is a Repository or an ArrayCollection. So i confirm this solution work for both. |
Hi!
I found not valid behavior for ArrayCollection matching function.
For ArrayCollection matching use code from
But
Need fix this.
The text was updated successfully, but these errors were encountered: