You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Michael Meijer (JIRA)" <ji...@apache.org> on 2014/09/09 10:47:28 UTC
[jira] [Created] (OLINGO-428) Metadata request fails when EDM
provider returns Schema with null valued alias
Michael Meijer created OLINGO-428:
-------------------------------------
Summary: Metadata request fails when EDM provider returns Schema with null valued alias
Key: OLINGO-428
URL: https://issues.apache.org/jira/browse/OLINGO-428
Project: Olingo
Issue Type: Bug
Components: odata4-server
Affects Versions: V4 4.0.0-beta-02
Reporter: Michael Meijer
Priority: Minor
When a request is made for metadata the XML is generated based on the EDM Provider. If the EDM provider has a schema whose alias is null (default), then writing the Alias attribute in XML (MetadataDocumentXmlSerializer.appendSchema(...)) causes a NullPointerException. The exception comes from the XMLStreamWriter implementatiom's writeAttribute(...) that cannot handle null valued content.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)