You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Ramesh Reddy (JIRA)" <ji...@apache.org> on 2016/02/02 00:08:39 UTC
[jira] [Assigned] (OLINGO-868) MetaDataParser unable to handle
Terms with more than one value for "AppliesTo" Attribute
[ https://issues.apache.org/jira/browse/OLINGO-868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ramesh Reddy reassigned OLINGO-868:
-----------------------------------
Assignee: Ramesh Reddy
> 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
>
> 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)