[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-797) Org.OData.Capabilities.V1 term property FilterRestrictions/RequiresFilter has wrong facets
[ https://issues.oasis-open.org/browse/ODATA-797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gerald Krause updated ODATA-797:
--------------------------------
Proposal: Add facet DefaultValue="true" and remove facet Nullable from property RequiresFilter. (was: Add facet DefaultValue="false" and remove facet Nullable from property RequiresFilter.)
> Org.OData.Capabilities.V1 term property FilterRestrictions/RequiresFilter has wrong facets
> ------------------------------------------------------------------------------------------
>
> Key: ODATA-797
> URL: https://issues.oasis-open.org/browse/ODATA-797
> Project: OASIS Open Data Protocol (OData) TC
> Issue Type: Bug
> Components: Vocabularies
> Affects Versions: V4.0_OS
> Environment: [Proposed]
> Reporter: Gerald Krause
> Fix For: V4.0_ERRATA03
>
>
> Type of term FilterRestrictions is defined as:
> <ComplexType Name="FilterRestrictionsType">
> <Property Name="Filterable" Type="Edm.Boolean" DefaultValue="true">
> <Annotation Term="Core.Description" String="$filter is supported" />
> </Property>
> <Property Name="RequiresFilter" Type="Edm.Boolean" Nullable="true">
> <Annotation Term="Core.Description" String="$filter is required" />
> </Property>
> <Property Name="RequiredProperties" Type="Collection(Edm.PropertyPath)">
> <Annotation Term="Core.Description"
> String="These properties must be specified in the $filter clause (properties of derived types are not allowed here)" />
> </Property>
> <Property Name="NonFilterableProperties" Type="Collection(Edm.PropertyPath)">
> <Annotation Term="Core.Description" String="These properties cannot be used in $filter expressions" />
> </Property>
> </ComplexType>
> The term lacks the intended default of "false" for property RequiresFilter. On the other hand, it has a Nullable="true" facet, which is the default anyway and can be omitted therefore.
--
This message was sent by Atlassian JIRA
(v6.2.2#6258)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]