-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
oData filter In not working #2779
Comments
What is Maybe off-topic, but |
These filters where indeed working as our integration tests where working and they stopped working without changes since last Sunday's nightly build. The name filter IN does not work either. |
Thanks for raising this @miguelautoentry Any chance this issue is still occurring? If indeed any chance you can post the issue at the link below to get visibility of the owners of the API?(this repo mainly handles library issues) |
There is a question here: Im having a hard time using the accepted answer with the v5 sdk though. |
Drive item id is unique, I would make a separate call for each id
If you want retrieve all drive items in parallel, you can use batching. |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
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
configuration =>
{
configuration.QueryParameters
.Filter = <<odata filter with the ids of 1 or 2 files using the IN clause as specified above>>;
}
, cancellationToken
);
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
```The text was updated successfully, but these errors were encountered: