You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Akitoshi Yoshida (JIRA)" <ji...@apache.org> on 2015/07/24 10:45:04 UTC

[jira] [Created] (OLINGO-739) odata2 batch processing behavior's change between version 2.0.0 and a newer version

Akitoshi Yoshida created OLINGO-739:
---------------------------------------

             Summary: odata2 batch processing behavior's change between version 2.0.0 and a newer version
                 Key: OLINGO-739
                 URL: https://issues.apache.org/jira/browse/OLINGO-739
             Project: Olingo
          Issue Type: Bug
          Components: odata2-core
    Affects Versions: V2 2.0.4
            Reporter: Akitoshi Yoshida


We noticed the behavior change in the batch processing between V2 2.0.0 and a later version from 2.0.1 including the current 2.0.5-SNAPSHOT.

The batch request that is accepted by the 2.0.0 service is no longer accepted when a later version of library is used.

Concretely, when using olingo's odata2 my-car-service service, using the batch request message (attached in this ticket),  the service returns the the following error when using a later version of the library. 

HTTP/1.1 400 Bad Request
Content-Type: application/xml
DataServiceVersion: 1.0
Date: Thu, 23 Jul 2015 14:14:16 GMT
Content-Length: 203
Server: Jetty(8.1.14.v20131031)

<?xml version='1.0' encoding='UTF-8'?><error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><code/><message xml:lang="en">Invalid request line 'GET' at line '7'.</message></error>

It seems to be something has been changed in the way the batch's content is processed. It is not clear if this was an intended behavior change or unintended.

Please see the attached odata2-batch-reqs.tar.gz file which contains the request files and a short description.




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