[
https://issues.apache.org/jira/browse/OLINGO-1472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Heiko Theißen updated OLINGO-1472:
----------------------------------
Description:
When parsing OData metadata, the Olingo ODataV4 client does not distinguish
between {{Scale="0"}}, {{Scale="variable"}}, {{Scale="floating"}}. See [source
code in master
branch|https://github.com/apache/olingo-odata4/blob/master/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/ClientCsdlProperty.java#L72].
However, these values have different meanings, see the [OData
spec|https://docs.oasis-open.org/odata/odata-csdl-xml/v4.01/os/odata-csdl-xml-v4.01-os.html#sec_Scale].
Therefore a client application must be able to distinguish between them.
was:
When parsing OData metadata, the Olingo ODataV4 client does not distinguish
between {{Scale="0"}}, {{Scale="variable"}}, {{Scale="floating"}}. See [source
code in master
branch|https://github.com/apache/olingo-odata4/blob/master/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/ClientCsdlProperty.java#L72].
These values have different meanings, however, see the [OData
spec|https://docs.oasis-open.org/odata/odata-csdl-xml/v4.01/os/odata-csdl-xml-v4.01-os.html#sec_Scale].
Therefore a client application must be able to distinguish between them.
> Scale="variable", Scale="floating" not supported
> ------------------------------------------------
>
> Key: OLINGO-1472
> URL: https://issues.apache.org/jira/browse/OLINGO-1472
> Project: Olingo
> Issue Type: Bug
> Components: odata4-client
> Reporter: Heiko Theißen
> Priority: Major
>
> When parsing OData metadata, the Olingo ODataV4 client does not distinguish
> between {{Scale="0"}}, {{Scale="variable"}}, {{Scale="floating"}}. See
> [source code in master
> branch|https://github.com/apache/olingo-odata4/blob/master/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/ClientCsdlProperty.java#L72].
> However, these values have different meanings, see the [OData
> spec|https://docs.oasis-open.org/odata/odata-csdl-xml/v4.01/os/odata-csdl-xml-v4.01-os.html#sec_Scale].
> Therefore a client application must be able to distinguish between them.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)