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/03/01 15:02:45 UTC
[jira] [Resolved] (OLINGO-1083) OData V4 Singleton has EntityType
instead of Type attribute in XML metadata
[ https://issues.apache.org/jira/browse/OLINGO-1083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Amend resolved OLINGO-1083.
-------------------------------------
Resolution: Fixed
Assignee: Christian Amend
Fix Version/s: (Java) V4 4.4.0
Hi Gabor,
thanks for the patch and including a test. I have applied the patch with the following commit: https://git-wip-us.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=00a5b1d2e15519d148ab6f1946b0bc8457dd0e65
Thanks & Best Regards,
Christian
> OData V4 Singleton has EntityType instead of Type attribute in XML metadata
> ---------------------------------------------------------------------------
>
> Key: OLINGO-1083
> URL: https://issues.apache.org/jira/browse/OLINGO-1083
> Project: Olingo
> Issue Type: Bug
> Components: odata4-server
> Affects Versions: (Java) V4 4.3.0
> Reporter: Gabor Faludi
> Assignee: Christian Amend
> Priority: Minor
> Fix For: (Java) V4 4.4.0
>
> Attachments: 0001-OLINGO-1083-Change-EntityType-attribute-to-Type-in-S.patch
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Olingo _always_ serializes Singletons in the schema with "Name" and "EntityType" attributes when generating metadata through org.apache.olingo.server.core.serializer.xml.MetadataDocumentXmlSerializer.appendSingletons(...).
> The above method seems to use XML_ENTITY_TYPE that has the value "EntityType").
> This is be non-compliant to the spec, which specifies "Name" and "Type" as attributes for a Singleton.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)