You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Challen (JIRA)" <ji...@apache.org> on 2014/05/12 10:56:15 UTC

[jira] [Updated] (OLINGO-274) fix V4 json error response's deserializing

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

Challen updated OLINGO-274:
---------------------------

    Description: 
V4 error is like: 
{

  "error": {

    "code": "400",

    "message": "Bad request.",

    "target": "query",

    "details": [

      {

       "code": "400",

       "target": "$search" ,

       "message": "Microsoft.Data.OData.BadRequest"

      }

    ],

    "innererror": {

      "trace": ["at Microsoft.Data.OData.MediaTypeUtils.GetContentTypeFromSettings....","callmethod2 etc"],

      "context": {"key1":"for debug deployment only"}

    }

  }

}

ATOM


  was:
V4 error is like: 
{

  "error": {

    "code": "400",

    "message": "Bad request.",

    "target": "query",

    "details": [

      {

       "code": "400",

       "target": "$search" ,

       "message": "Microsoft.Data.OData.BadRequest"

      }

    ],

    "innererror": {

      "trace": ["at Microsoft.Data.OData.MediaTypeUtils.GetContentTypeFromSettings....","callmethod2 etc"],

      "context": {"key1":"for debug deployment only"}

    }

  }

}



> fix V4 json error response's deserializing
> ------------------------------------------
>
>                 Key: OLINGO-274
>                 URL: https://issues.apache.org/jira/browse/OLINGO-274
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-client
>    Affects Versions: V4 0.1.0
>            Reporter: Challen
>            Assignee: Challen
>             Fix For: V4 0.1.0
>
>
> V4 error is like: 
> {
>   "error": {
>     "code": "400",
>     "message": "Bad request.",
>     "target": "query",
>     "details": [
>       {
>        "code": "400",
>        "target": "$search" ,
>        "message": "Microsoft.Data.OData.BadRequest"
>       }
>     ],
>     "innererror": {
>       "trace": ["at Microsoft.Data.OData.MediaTypeUtils.GetContentTypeFromSettings....","callmethod2 etc"],
>       "context": {"key1":"for debug deployment only"}
>     }
>   }
> }
> ATOM



--
This message was sent by Atlassian JIRA
(v6.2#6252)