You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Pan, Franklin (JIRA)" <ji...@apache.org> on 2018/02/02 01:44:00 UTC

[jira] [Created] (OLINGO-1230) OpenType attribute is missing in meta serializer

Pan, Franklin created OLINGO-1230:
-------------------------------------

             Summary: OpenType attribute is missing in meta serializer
                 Key: OLINGO-1230
                 URL: https://issues.apache.org/jira/browse/OLINGO-1230
             Project: Olingo
          Issue Type: Bug
          Components: odata4-server
    Affects Versions: (Java) V4 4.4.0
            Reporter: Pan, Franklin


In the [org|https://github.com/pjunlin/olingo-odata4/tree/63f4eccf93ba9c94817d0ee9efa0e3438c289f60/lib/server-core/src/main/java/org]/[apache|https://github.com/pjunlin/olingo-odata4/tree/63f4eccf93ba9c94817d0ee9efa0e3438c289f60/lib/server-core/src/main/java/org/apache]/[olingo|https://github.com/pjunlin/olingo-odata4/tree/63f4eccf93ba9c94817d0ee9efa0e3438c289f60/lib/server-core/src/main/java/org/apache/olingo]/[server|https://github.com/pjunlin/olingo-odata4/tree/63f4eccf93ba9c94817d0ee9efa0e3438c289f60/lib/server-core/src/main/java/org/apache/olingo/server]/[core|https://github.com/pjunlin/olingo-odata4/tree/63f4eccf93ba9c94817d0ee9efa0e3438c289f60/lib/server-core/src/main/java/org/apache/olingo/server/core]/[serializer|https://github.com/pjunlin/olingo-odata4/tree/63f4eccf93ba9c94817d0ee9efa0e3438c289f60/lib/server-core/src/main/java/org/apache/olingo/server/core/serializer]/[xml|https://github.com/pjunlin/olingo-odata4/tree/63f4eccf93ba9c94817d0ee9efa0e3438c289f60/lib/server-core/src/main/java/org/apache/olingo/server/core/serializer/xml]/*MetadataDocumentXmlSerializer.java ,*

OpenType attribute is not handled properly in both appendEntityTypes and appendComplexTypes.

Since other part of the code always contain the openType attribute feature, only this serializer is missing, so I think it is a bug rather than an feature or improvement.

See [http://docs.oasis-open.org/odata/odata/v4.0/errata03/os/complete/part3-csdl/odata-v4.0-errata03-os-part3-csdl-complete.html#_Toc453752553]

and 

[http://docs.oasis-open.org/odata/odata/v4.0/errata03/os/complete/part3-csdl/odata-v4.0-errata03-os-part3-csdl-complete.html#_Toc453752564]

in odata4 spec.

The fix is in [https://github.com/apache/olingo-odata4/pull/27]

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)