olingo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Amend (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OLINGO-1083) OData V4 Singleton has EntityType instead of Type attribute in XML metadata
Date Wed, 01 Mar 2017 15:02:45 GMT

     [ 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:

Thanks & Best Regards,

> 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

View raw message