[
https://issues.apache.org/jira/browse/OLINGO-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Amend updated OLINGO-465:
-----------------------------------
Fix Version/s: (was: V2 2.0.1)
V2 2.0.2
> Read of FunctionImport with Collection ReturnType cause
> EntityProviderException in AtomEntityProvider.readFunctionImport(...)
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: OLINGO-465
> URL: https://issues.apache.org/jira/browse/OLINGO-465
> Project: Olingo
> Issue Type: Bug
> Components: odata2-core
> Affects Versions: V2 2.0.0
> Reporter: Michael Bolz
> Assignee: Michael Bolz
> Fix For: V2 2.0.2
>
> Attachments: 141021_Olingo-465-fix.diff
>
>
> Read of FunctionImport with Collection ReturnType cause
> {{EntityProviderException}} in
> {{org.apache.olingo.odata2.core.ep.AtomEntityProvider.readFunctionImport(...)}}
> with error:
> {code}
> javax.xml.stream.XMLStreamException: ParseError at [row,col]:[-1,-1]
> Message: found: END_DOCUMENT, expected START_ELEMENT or END_ELEMENT
> {code}
> {code}
> <?xml version='1.0' encoding='utf-8'?><feed
> xmlns="http://www.w3.org/2005/Atom"
> xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"
> xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"><entry><content
>
> type="application/xml"><m:properties><d:key>abcde</d:key><d:status>OK</d:status><d:editStatus>UPDATED</d:editStatus><d:message
> m:null="true" /><d:index>0</d:index></m:properties></content></entry></feed>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)