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
@alterphp, I'm not sure if/how we can get ids without getting (full) objects from the collection, but we should definitely clean up the code and not make assumptions on the existence of the getId method:
This matches the code in the OneToMany part which makes perfect sense.
In a very old post on https://groups.google.com/forum/m/#!topic/symfony2/BVgT2vmLbto Christophe Coevoet (stof) claims that ”Getting the identifier will not initialize the proxy anymore in 2.2”, but I have not been able to verify this. I will investigate further.
Violation reported by SensioLabInsight. We call
getId
method on unknwon object.=> method may not exist.
Is it possible to get identifiers without parsing each of related object (from collection ?) ?
@rimi-itk any idea ?
in src/Helper/EmbeddedListHelper.php, line 134
Posted from SensioLabsInsight
The text was updated successfully, but these errors were encountered: