Examples 53, 54, and 59 are not compliant with Data Aggregation ABNF

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • V4.0_CSD04
    • Affects Version/s: V4.0_CS02
    • Component/s: Data Aggregation
    • None
    • Environment:

      Applied

    • Hide

       

      Extend ABNF rule (insertion surrounded with *):

      aggregateExpr   = customAggregate [ customFrom asAlias ]
                      / commonExpr aggregateWith [ aggregateFrom ] asAlias
      *                / pathPrefix primitiveProperty aggregateWith [ aggregateFrom ] asAlias *
                      / pathPrefix '$count' asAlias 
                      / pathPrefix customAggregate
                      / pathPrefix pathSegment OPEN aggregateExpr CLOSE

       

       

      Show
        Extend ABNF rule (insertion surrounded with *): aggregateExpr = customAggregate [ customFrom asAlias ] / commonExpr aggregateWith [ aggregateFrom ] asAlias * / pathPrefix primitiveProperty aggregateWith [ aggregateFrom ] asAlias * / pathPrefix '$count' asAlias / pathPrefix customAggregate / pathPrefix pathSegment OPEN aggregateExpr CLOSE    
    • Show
      already merged into https://github.com/oasis-tcs/odata-abnf/blob/master/abnf/odata-aggregation-abnf.txt

      Section 3.1 Transformation aggregate defines:

      An aggregate expression may be:
      • an expression valid in a $filter system query option on the input set that results in a simple value, e.g. the path to an aggregatable property, with a specified aggregation method,

      The above-mentioned examples refer to property paths with collection-valued navigation properties, which cannot be created from a CommonExpression that is referenced in rule aggregateExpr of the current ABNF for Data Aggregation.

       

            Assignee:
            Unassigned
            Reporter:
            gerald.krause1
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: