Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-806

Wrong description in capabilities vocabulary in term SearchRestrictions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.0_ERRATA02
    • Fix Version/s: V4.0_ERRATA03
    • Component/s: Vocabularies
    • Labels:
      None
    • Environment:

      [proposed]

      Description

      In the Term "SearchRestrictions" we defined in the complex type "SearchRestrictionsType" a property "UnsupportedExpressions" with the description "Expressions supported in $search". The description is wrong, it should read "Expressions not supported in $search".

      <Term Name="SearchRestrictions" Type="Capabilities.SearchRestrictionsType" AppliesTo="EntitySet">
      <Annotation Term="Core.Description" String="Restrictions on $search expressions" />
      </Term>
      <ComplexType Name="SearchRestrictionsType">
      <Property Name="Searchable" Type="Edm.Boolean" DefaultValue="true">
      <Annotation Term="Core.Description" String="$search is supported" />
      </Property>
      <Property Name="UnsupportedExpressions" Type="Capabilities.SearchExpressions" DefaultValue="none">
      <Annotation Term="Core.Description" String="Expressions supported in $search" />
      </Property>
      </ComplexType>
      <EnumType Name="SearchExpressions" IsFlags="true">
      <Member Name="none" Value="0" />
      <Member Name="AND" Value="1" />
      <Member Name="OR" Value="2" />
      <Member Name="NOT" Value="4" />
      <Member Name="phrase" Value="8" />
      <Member Name="group" Value="16" />
      </EnumType>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              martinzurmuehl Martin Zurmuehl
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: