CdmEntityCache not correctly updating with entitiy graphs loaded afterwards
Found in Version:
CdmEntityCache has a couple of problems:
- entities put in the cache via the
add()method may contain entities which are already in the cache. A merge will not happen in this case. This might casue the multiple representations problem
- entity graphs added via the
findOrUpdate()method are only compared at the root entity. In case the root entity is not yet cached the rest of the graph is ignored even if it could contain "multiple representation objects"