sonata-project/SonataAdminBundle — pull request #2547 by EmmanuelVella (2014-11-04 15:21:20+00:00)
Title: getValueFromFieldDescription returns null if property is not found

Tell me if i'm wrong, but I think it's incorrect to return a new object instance if the property is not found. We should return null instead.

Moreover, it breaks the lists when the property is not found, because it will return a new object instance and then try to generate an link to the object using its empty id, throwing a router "invalid parameter" exception.