Skip to content

oData filter In not working #2779

@miguelautoentry

Description

@miguelautoentry

Describe the bug

We have integration tests that started to fail at least between the last successful build 15 Dec 24 20:51 UTC and the first failed build 16 Dec 24 04:15
The test adds 5 files per thread concurrently and then filters the files with a query like "(CreatedDateTime le 2024-12-16T11:24:32Z and Id in ('01WCQGNM66BSFNDZMK5JH3A3DN64PY6ZR5','01WCQGNM2REEZ4ZMMUSNGLVQT5YL2SXZSE','01WCQGNM3ML2GFF6OTVFBILBJQRWOJNWYK','01WCQGNMY4LZ6RNUK3XRGYZYBERUD3TAQV','01WCQGNM2M6MRRINBMIVAYKXWQHVEWASEQ'))" the result is bringing the requested files and other files with different ids other than the ids requested, I tried using In.. Name with the same results. This is a regression on the service

Expected behavior

Filter to work correctly

How to reproduce

  • upload 3 files
  • Execute requestBuilder.Items.GetAsync (
    configuration =>
    {
    configuration.QueryParameters
    .Filter = <<odata filter with the ids of 1 or 2 files using the IN clause as specified above>>;
    }
    , cancellationToken
    );
  • you'll get the 3 files or more if there are more meeting the date time filter condition as specified above

SDK Version

Micrososft.Graph 5.67.0

Latest version known to work for scenario above?

its a service error not a lib error

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions