[OLINGO-1544]Fix for deserialize delta request payload with navigation
This commit is contained in:
parent
e00643705f
commit
002b3af2f9
lib/server-core/src/main/java/org/apache/olingo/server/core/deserializer/json
pom.xml
|
@ -287,7 +287,8 @@ public class ODataJsonDeserializer implements ODataDeserializer {
|
||||||
deltaValue.getDeletedEntities().add(deletedEntity);
|
deltaValue.getDeletedEntities().add(deletedEntity);
|
||||||
} else {
|
} else {
|
||||||
//For @id and properties create normal entity
|
//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);
|
deltaValue.getEntities().add(inlineEntity);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
1
pom.xml
1
pom.xml
|
@ -596,6 +596,7 @@
|
||||||
<exclude>**/server-ref/**</exclude>
|
<exclude>**/server-ref/**</exclude>
|
||||||
<exclude>**/dependency-reduced-pom.xml</exclude>
|
<exclude>**/dependency-reduced-pom.xml</exclude>
|
||||||
<exclude>**/.settings/**</exclude>
|
<exclude>**/.settings/**</exclude>
|
||||||
|
<exclude>**/SECURITY.md</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
|
Loading…
Reference in New Issue