[OLINGO-1544]Fix for deserialize delta request payload with navigation

This commit is contained in:
ramya vasanth 2021-09-16 17:56:04 +05:30
parent e00643705f
commit 002b3af2f9
2 changed files with 3 additions and 1 deletions

View File

@ -287,7 +287,8 @@ public class ODataJsonDeserializer implements ODataDeserializer {
deltaValue.getDeletedEntities().add(deletedEntity);
} else {
//For @id and properties create normal entity
Entity inlineEntity = consumeEntityNode(edmEntityType, (ObjectNode) arrayElement, expandBuilder);
Entity inlineEntity = consumeEntityNode(edmNavigationProperty.getType(),
(ObjectNode) arrayElement, expandBuilder);
deltaValue.getEntities().add(inlineEntity);
}
}

View File

@ -596,6 +596,7 @@
<exclude>**/server-ref/**</exclude>
<exclude>**/dependency-reduced-pom.xml</exclude>
<exclude>**/.settings/**</exclude>
<exclude>**/SECURITY.md</exclude>
</excludes>
</configuration>
</execution>