You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Giacomo Pati (JIRA)" <ji...@apache.org> on 2014/12/05 08:48:12 UTC

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

     [ https://issues.apache.org/jira/browse/OLINGO-483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Giacomo Pati updated OLINGO-483:
--------------------------------
    Attachment:     (was: .0001-OLINGO-483-Possible-patch-for-mentioned-Jira-issue-n.patch.swp)

> 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
>            Assignee: Michael Bolz
>            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)