You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "dhaval gupta (JIRA)" <ji...@apache.org> on 2014/11/13 17:02:35 UTC

[jira] [Commented] (OLINGO-483) Expanding expanded entity shows wrong results

    [ https://issues.apache.org/jira/browse/OLINGO-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14209941#comment-14209941 ] 

dhaval gupta commented on OLINGO-483:
-------------------------------------

Hi,
I also faced the same problem. If we expand the direct child of SalesOrderItem entity we get all the child entities like SalesOrderHeader , etc in the response but if we expand child's child the we get only first child of the child entity. Same as the above case.

Thanks
Dhaval

> Expanding expanded entity shows wrong results
> ---------------------------------------------
>
>                 Key: OLINGO-483
>                 URL: https://issues.apache.org/jira/browse/OLINGO-483
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-jpa
>    Affects Versions: V2 2.0.1
>            Reporter: Giacomo Pati
>            Priority: Critical
>             Fix For: V2 2.0.2
>
>
> The following 2 queries, although equivalent in my understanding, deliver different results and both of them are incomplete:
> # http://localhost:8080/SalesOrderProcessing.svc/SalesOrderItems?$expand=SalesOrderHeaderDetails,SalesOrderHeaderDetails/CustomerDetails,SalesOrderHeaderDetails/NoteDetails
> # http://localhost:8080/SalesOrderProcessing.svc/SalesOrderItems?$expand=SalesOrderHeaderDetails,SalesOrderHeaderDetails/NoteDetails,SalesOrderHeaderDetails/CustomerDetails
> In 1. NoteDetails and in 2. query CustomerDetails are missing
> I've debugged alot but could find where the bug actually is. I believe it's somewhere in the line between 102-113 in class DataJPAResponseBuilderDefault



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)