In our project we have two associated entities "portal" and "object_data". To get all object_data of an object that belong to a portal, we use filtering code like this since symfony 2.0:
Up to now, this worked just fine. When upgrading from Symfony 2.2 to 2.3rc1, this code stopped working, the comparison will always be false. I also received a PHP error message in another place about the portal entity not being convertible to a string:
I assume these problems are related. Since the code worked just fine from Symfony 2.0 to 2.2, I assume that this might be a regression. Could you kindly take a look at this and perhaps let me know if I did anything wrong?
We use direct entity comparisons in many places in our code, rather than comparing the ids of the entities directly, and so far it worked just fine.
Thanks a lot!