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)

Reply via email to