olingo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramesh Reddy (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OLINGO-1292) Json Serialization of geometry value does not allow for an SRID
Date Mon, 24 Sep 2018 17:43:00 GMT

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

Ramesh Reddy resolved OLINGO-1292.
----------------------------------
    Resolution: Fixed

Applied the changes with merge https://git-wip-us.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=b09dde0b3991f458dec1e90e74e6fce0639cb849

> Json Serialization of geometry value does not allow for an SRID
> ---------------------------------------------------------------
>
>                 Key: OLINGO-1292
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1292
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-server
>    Affects Versions: (Java) V4 4.4.0
>            Reporter: Steven Hawkins
>            Assignee: Ramesh Reddy
>            Priority: Major
>             Fix For: 4.6.0
>
>
> Due to [https://github.com/apache/olingo-odata4/blob/1fef3a131ea4cc334151a7f10b67cab6bb424239/lib/server-core/src/main/java/org/apache/olingo/server/core/serializer/json/ODataJsonSerializer.java#L991]
> an srid cannot be associated with a value - even if it's the default 0 or 4326 for geometry
or geography respectively.
> Looking at the reference service output [https://services.odata.org/TripPinRESTierService/Airports]
> the srid is associated, and it's already part of the client serialization logic  [https://github.com/apache/olingo-odata4/blob/1fef3a131ea4cc334151a7f10b67cab6bb424239/lib/client-core/src/main/java/org/apache/olingo/client/core/serialization/JsonGeoValueSerializer.java#L42]
>  



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

Mime
View raw message