You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Michael Burwig (JIRA)" <ji...@apache.org> on 2015/11/17 16:30:11 UTC
[jira] [Closed] (OLINGO-819) ODataJsonSerializer.resolveComplexType
throws unjustified Exception
[ https://issues.apache.org/jira/browse/OLINGO-819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Burwig closed OLINGO-819.
---------------------------------
Resolution: Invalid
Hi Christian,
you are absolutely right. My bad, it was a fully-qualified versus "simple" name mix-up for {{baseType}}.
Thanks,
Michael
> ODataJsonSerializer.resolveComplexType throws unjustified Exception
> -------------------------------------------------------------------
>
> Key: OLINGO-819
> URL: https://issues.apache.org/jira/browse/OLINGO-819
> Project: Olingo
> Issue Type: Bug
> Components: odata4-server
> Affects Versions: (Java) V4 4.0.0
> Reporter: Michael Burwig
> Assignee: Christian Amend
>
> {{ODataJsonSerializer.complex}} calls {{final EdmComplexType resolvedType = resolveComplexType(metadata, type, property.getType());}} and fails (_Wrong base type_) if {{type}} and {{property.getType()}} refer to the same type. This behavior does not appear to be stated or implied by the documentation and seems unintuitive to me.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)