You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Steven Hawkins (JIRA)" <ji...@apache.org> on 2019/05/06 17:16:00 UTC

[jira] [Updated] (OLINGO-1355) Changeset transaction committed on a 400 error code

     [ https://issues.apache.org/jira/browse/OLINGO-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins updated OLINGO-1355:
-----------------------------------
    Description: 
See [https://github.com/apache/olingo-odata4/blob/1fef3a131ea4cc334151a7f10b67cab6bb424239/lib/server-core-ext/src/main/java/org/apache/olingo/server/core/requests/BatchRequest.java#L83] - it will still commit on a 400 error code.

Also the behavior of [https://github.com/apache/olingo-odata4/blob/1fef3a131ea4cc334151a7f10b67cab6bb424239/lib/server-core-ext/src/main/java/org/apache/olingo/server/core/requests/BatchRequest.java#L147] should be validated.  For a change set it is returning a non-change set error response.  It seems like it still should be associated as a change set response even if there is only one part.

  was:See [https://github.com/apache/olingo-odata4/blob/1fef3a131ea4cc334151a7f10b67cab6bb424239/lib/server-core-ext/src/main/java/org/apache/olingo/server/core/requests/BatchRequest.java#L83] if changes beyond the first in the change set fail, it will still be committed.

        Summary: Changeset transaction committed on a 400 error code  (was: Changeset transaction commited based upon only the first change)

> Changeset transaction committed on a 400 error code
> ---------------------------------------------------
>
>                 Key: OLINGO-1355
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1355
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-server
>            Reporter: Steven Hawkins
>            Priority: Major
>
> See [https://github.com/apache/olingo-odata4/blob/1fef3a131ea4cc334151a7f10b67cab6bb424239/lib/server-core-ext/src/main/java/org/apache/olingo/server/core/requests/BatchRequest.java#L83] - it will still commit on a 400 error code.
> Also the behavior of [https://github.com/apache/olingo-odata4/blob/1fef3a131ea4cc334151a7f10b67cab6bb424239/lib/server-core-ext/src/main/java/org/apache/olingo/server/core/requests/BatchRequest.java#L147] should be validated.  For a change set it is returning a non-change set error response.  It seems like it still should be associated as a change set response even if there is only one part.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)