[ https://issues.apache.org/jira/browse/OLINGO-1495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ramya Vasanth resolved OLINGO-1495. ----------------------------------- Resolution: Fixed > OData V4: Uri parsing error for GET request on child entity with ID > ------------------------------------------------------------------- > > Key: OLINGO-1495 > URL: https://issues.apache.org/jira/browse/OLINGO-1495 > Project: Olingo > Issue Type: Bug > Affects Versions: (Java) V4 4.7.1 > Reporter: Ramya Vasanth > Priority: Major > > When there are 2 entities with navigation properties as below > <EntityType Name="OrderItems"> > <Key> > <PropertyRef Name="ID"/> > </Key> > <Property Name="ID" Type="Edm.Guid" Nullable="false"/> > <Property Name="amount" Type="Edm.Int32"/> > <NavigationProperty Name="parent" > Type="com.sap.model.bookshop.CatalogService.Orders" Partner="Items"> > <ReferentialConstraint Property="parent_ID" ReferencedProperty="ID"/> > </NavigationProperty> > </EntityType> > <EntityType Name="Orders"> > <Key> > <PropertyRef Name="ID"/> > </Key> > <Property Name="ID" Type="Edm.Guid" Nullable="false"/> > <Property Name="netAmount" Type="Edm.Decimal" Scale="0" Precision="5"/> > <NavigationProperty Name="Items" > Type="Collection(com.sap.model.bookshop.CatalogService.OrderItems)" > Partner="parent"> > <OnDelete Action="Cascade"/> > </NavigationProperty> > </EntityType> > > Then the url of the form Orders(<ID>)/items(<ID>) does not work. The error > obtained is "The key value is not valid.". -- This message was sent by Atlassian Jira (v8.3.4#803005)