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

Ramesh Reddy resolved OLINGO-868.
---------------------------------
       Resolution: Fixed
    Fix Version/s: (Java) V4 4.2.0

done

> MetaDataParser unable to handle Terms with more than one value for 
> "AppliesTo" Attribute
> ----------------------------------------------------------------------------------------
>
>                 Key: OLINGO-868
>                 URL: https://issues.apache.org/jira/browse/OLINGO-868
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-server
>    Affects Versions: (Java) V4 4.1.0
>            Reporter: VIJAYASIMHA R NAGA
>            Assignee: Ramesh Reddy
>             Fix For: (Java) V4 4.2.0
>
>
> Has problems dealing with Terms of the kind mentioned below that has 
> "AppliesTo" attribute set to more than one type
> <Term Name="ResourcePath" Type="Edm.String" AppliesTo="EntitySet Singleton 
> ActionImport FunctionImport">
> </Term>
> Suggestions to fix: [In method private CsdlTerm readTerm(StartElement element]
>     if (attr(element, "AppliesTo") != null) {
>       //term.setAppliesTo(Collections.singletonList(attr(element, 
> "AppliesTo")));
>       term.setAppliesTo(Arrays.asList((attr(element, 
> "AppliesTo")).split("\\s+")));
>     }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to