You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Christian Amend (JIRA)" <ji...@apache.org> on 2017/09/08 13:02:01 UTC
[jira] [Resolved] (OLINGO-1166) Annotations for members of Enum
types in the CSDL appear as siblings instead of as children
[ https://issues.apache.org/jira/browse/OLINGO-1166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Amend resolved OLINGO-1166.
-------------------------------------
Resolution: Fixed
Fix Version/s: (Java) V4 4.5.0
Hi Tom,
I applied the changes to the master branch. Thanks for providing the tests and sorry for missing them when I built the release.
Best Regards,
Christian
> Annotations for members of Enum types in the CSDL appear as siblings instead of as children
> --------------------------------------------------------------------------------------------
>
> Key: OLINGO-1166
> URL: https://issues.apache.org/jira/browse/OLINGO-1166
> Project: Olingo
> Issue Type: Bug
> Components: odata4-server
> Affects Versions: (Java) V4 4.3.0
> Reporter: Tom van Wietmarschen
> Labels: easyfix
> Fix For: (Java) V4 4.5.0
>
> Attachments: 0001-OLINGO-1166-Add-test-case.patch, 0001-OLINGO-1166-Fix-serialization-of-annotations-for-enu.patch
>
>
> When adding annotations to members of an enum type, the annotations appear as siblings of the member element, while they should appear as children (OData v4.0, part 3: CSDL, section 14.3)
> This is caused by a bug in {{org.apache.olingo.server.core.serializer.xml.MetadataDocumentXmlSerializer}}.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)