[
https://issues.apache.org/jira/browse/OLINGO-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Francesco Chicchiriccò updated OLINGO-391:
------------------------------------------
Description:
The version of commons codec shipped with Android is outdated if compared with
the one used within Olingo.
One consequence of this is that, when attempting to read an {{Edm.Binary}}
property value, the following exception is returned:
{code}
java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.isBase64
{code}
An option is to "backport" some code from the updated commons-codec directly
into the {{EdmBinary}} class, where it is only used.
was:
The version of commons codec shipped with Android is outdated if compared with
the one used within Olingo.
One consequence of this is that, when attempting to read an {{Edm.Binary}}
property value, the following exception is returned:
{code}
java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.isBase64
{code}.
An option is to "backport" some code from the updated commons-codec directly
into the {{EdmBinary}} class, where it is only used.
> Base64 handling on Android
> --------------------------
>
> Key: OLINGO-391
> URL: https://issues.apache.org/jira/browse/OLINGO-391
> Project: Olingo
> Issue Type: Bug
> Components: odata4-client
> Environment: Android
> Reporter: Francesco Chicchiriccò
> Assignee: Francesco Chicchiriccò
> Fix For: V4 4.0.0-beta-01
>
>
> The version of commons codec shipped with Android is outdated if compared
> with the one used within Olingo.
> One consequence of this is that, when attempting to read an {{Edm.Binary}}
> property value, the following exception is returned:
> {code}
> java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.isBase64
> {code}
> An option is to "backport" some code from the updated commons-codec directly
> into the {{EdmBinary}} class, where it is only used.
--
This message was sent by Atlassian JIRA
(v6.2#6252)