You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Ramya (Jira)" <ji...@apache.org> on 2020/03/19 05:08:00 UTC

[jira] [Commented] (OLINGO-1437) Add additional properties to OData Server Error

    [ https://issues.apache.org/jira/browse/OLINGO-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17062291#comment-17062291 ] 

Ramya commented on OLINGO-1437:
-------------------------------

This is fixed as part of the commit https://git-wip-us.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=a3318beed39dd92d887a953a07cf815693df8188

> Add additional properties to OData Server Error
> -----------------------------------------------
>
>                 Key: OLINGO-1437
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1437
>             Project: Olingo
>          Issue Type: New Feature
>            Reporter: Ramya
>            Assignee: Ramya
>            Priority: Major
>
> OData error response can contain some additional fields:
> @Common.longtextUrl
> @Common.numericSeverity (only within details section)
> @Common.additionalTargets
> Olingo does not provide a way to specify these additional properties in either ODataServerError or ODataErrorDetail.
> Implementation detail:
> Add an API setAdditionalProperties and getAdditionalProperties in ODataServerError and ODataErrorDetail which allows to add these additional properties.
> The ODataErrorSerializer should serialize this additional properties and form a correct json response.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)