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)

Reply via email to