sap.ui.model.odata.v2.ODataModel.getKey(...) and .createKey(...) do not accommodate OData entitytypes with baseType defined
OpenUI5 version: 1.44 Browser/version: Chrome 60.0.3112.24 Any other tested browsers/devices(OK/FAIL): Not tested
Steps to reproduce the problem:
- OData service has multiple entitytypes, most of which have a common BaseType
- The metadata is correct, so the entitytypes that have a baseType defined have no explicit key. Instead the key is inherited from the baseType
What is the expected result?
getKey and createKey should return the key from the baseType
What happens instead?
Returns no key
Any other information?
Similar problems exist with other methods that use the properties of the entityType: properties and navigation properties that are inherited from the baseType are not available.
Hi @peterjohnlawrence,
I have created un internal incident with the following number: #1780233442
Kind Regards, Gery
Hi @peterjohnlawrence, we know that we do not fully support BaseTypes, but we have no plan to enhance this support for the v2.ODataModel so far. BR, Jan