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

Details

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

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: