You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Prashanth (JIRA)" <ji...@apache.org> on 2015/06/25 13:54:06 UTC

[jira] [Created] (OLINGO-715) Skip Query Option not working with JPA extension

Prashanth created OLINGO-715:
--------------------------------

             Summary: Skip Query Option not working with JPA extension
                 Key: OLINGO-715
                 URL: https://issues.apache.org/jira/browse/OLINGO-715
             Project: Olingo
          Issue Type: Bug
          Components: odata2-jpa
    Affects Versions: V2 2.0.3
            Reporter: Prashanth


Request with $skip alone is getting the empty result set.

URI : http://localhost:8080/odata/odata.svc/Pages?$skip=1

Actual : Above GET request is getting the response feed without any entries.
Expected : It should fetch all the entries except first feed

Technical RootCause Identified :

JPAPage -> formulateTopSkip() is returning the TopSkip object with top=0  when there is a skip value without top passed in URI. Hence when skip=1 , then TopSkip is skip=1 and top=0 , which is resulting in empty result set in the response.



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