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

Org.OData.Aggregation.V1 missing Nullable="false" for Function ReturnType

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.0_CSD04, V4.0_CSD02
    • Fix Version/s: None
    • Labels:
      None

      Description

      Function elements like:

      <Function Name="isroot" IsBound="true">
      <Annotation Term="Core.Description"
      String="Returns true, if and only if the value of the node property of the specified hierarchy is the root of the hierarchy" />
      <Parameter Name="Entity" Type="Edm.EntityType" Nullable="false" />
      <Parameter Name="Hierarchy" Type="Edm.String" Nullable="false" />
      <ReturnType Type="Edm.Boolean" />
      </Function>

      are missing Nullable="false" in the ReturnType elements.

      Clearly it wasn't intended for these functions to return nullable Boolean values, so this should be fixed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              evan.ireland.2 Evan Ireland
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: