Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-4032 Olingo V4
  3. TEIID-4044

OData ignores entities with empty list of related entities if $filter is applied to expanded entities

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 9.0, 8.12.5
    • None
    • OData
    • None

      If user want to apply filter for related entities, OData service should return all entities, not only those with non-empty collection of related entities.

      Example:
      URL: http://localhost:8080/odata4/olingo_basic/Source/Customers/?$expand=Orders_FK0($filter=place%20eq%20%27town%27)
      Result: OData returns only 2 customers (both have at least one order with place "town")
      Expectation: OData should return all 4 customers (two of them should have empty list of orders)

              rhn-engineering-rareddy Ramesh Reddy
              jdurani Juraj DurĂ¡ni (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: