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

Latest updates for Aggregation vocabulary use wrong-typed DefaultValue for Core.OptionalParameter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: V4.01_OS
    • Fix Version/s: V4.01_ERRATA01
    • Component/s: Vocabularies
    • Labels:
      None

      Description

      See for example:

      <Parameter Name="MaxDistance" Type="Edm.Int16" Nullable="false">
        <Annotation Term="Core.OptionalParameter">
          <Record>
            <PropertyValue Property="DefaultValue" Int="32767" />*
          </Record>
        </Annotation>
        <Annotation Term="Validation.Minimum" Int="1" />
      </Parameter>
      

      The DefaultValue property in Core.OptionalParameterType is defined as a TypeDefinition with UnderlyingType Edm.String. So using Int="..." is not valid.

        Attachments

          Activity

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              evan.ireland.2 Evan Ireland
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: