You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Richard Birenheide (JIRA)" <ji...@apache.org> on 2015/12/19 14:31:46 UTC

[jira] [Created] (OLINGO-842) Function Imports defined in JPA Provider return 404 instead of empty collection

Richard Birenheide created OLINGO-842:
-----------------------------------------

             Summary: Function Imports defined in JPA Provider return 404 instead of empty collection
                 Key: OLINGO-842
                 URL: https://issues.apache.org/jira/browse/OLINGO-842
             Project: Olingo
          Issue Type: Bug
          Components: odata2-jpa
    Affects Versions: V2 2.0.6
            Reporter: Richard Birenheide


When defining a function import which return a collection of Complex Types, one gets a 404 when an empty list is returned. The expected behaviour would be empty content and a success code (2xx).

The body of the 404 message indicates also that returning an empty list is unexpected behaviour for the framework.

Kind Regards
Richard

<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<code/>
<message xml:lang="en-US">Common exception</message>
</error>




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