Oliver Grande created OLINGO-1608:
-------------------------------------
Summary: Expand of $level not serialized
Key: OLINGO-1608
URL: https://issues.apache.org/jira/browse/OLINGO-1608
Project: Olingo
Issue Type: Bug
Components: odata4-server
Affects Versions: (Java) V4 4.9.0
Reporter: Oliver Grande
Let's assume there are two entity types _A_ and {_}B{_}. For A the entity set
_As_ exists. _A_ has two navigations {_}toChildren{_}, as _A_ builds up an
hierarchy, and {_}toB{_}. In this case a client can send GET request like the
following:
.../exampleService/As?$expand=toChildren($level=1;$expand=toB)&$top=1
The expected response would look like this
{code:java}
{
"@odata.context": ".../exampleService/$metadata#As(toChildren(toB()))",
"value": [
{
...
"toChildren": [
{
...
"toB": {
...
},
},
{ ...
"toB": { ... },
}
]
}
]
} {code}
Infect the response does not contain the navigation to B evenso the data are
provided
--
This message was sent by Atlassian Jira
(v8.20.10#820010)