[ 
https://issues.apache.org/jira/browse/OLINGO-428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Bolz resolved OLINGO-428.
---------------------------------
    Resolution: Fixed

Fixed with [commit: \[OLINGO-428\] Fixed optional alias attribute for 
Schema|https://git-wip-us.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=3b9eb2fb8af171246f7b3c4aad5088eb94520bc8].

> 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: (Java) V4 4.0.0-beta-02
>            Reporter: Michael Meijer
>            Assignee: Michael Bolz
>            Priority: Minor
>             Fix For: (Java) V4 4.0.0-beta-02
>
>
> 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)

Reply via email to