olingo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Lawrence (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OLINGO-1303) Serializing OpenType dynamic properties
Date Mon, 08 Oct 2018 09:04:00 GMT

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

Peter Lawrence commented on OLINGO-1303:

The root problem is at line 534 of org.apache.olingo.server.core.serializer.json. Here it
iterates over EDM declared properties and then writes the property if it finds data for it.

I guess this needs to be replaced when the type is Open.



> Serializing OpenType dynamic properties
> ---------------------------------------
>                 Key: OLINGO-1303
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1303
>             Project: Olingo
>          Issue Type: Question
>          Components: odata2-core
>    Affects Versions: (Java) V4 4.5.0
>            Reporter: Peter Lawrence
>            Priority: Blocker
> Olingo 4.5.0 includes openType in the metadata, however I cannot see how to enable serializing
of properties that are not included in the metadata (dynamic properties).
> It appears that the results serializer will only serialize those properties that are
declared in the metadata. ... or am I missing something?

This message was sent by Atlassian JIRA

View raw message