Skip to content
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

Missing results in list_files query #1569

Open
quentindemetz opened this issue Nov 19, 2020 · 1 comment
Open

Missing results in list_files query #1569

quentindemetz opened this issue Nov 19, 2020 · 1 comment
Labels
external This issue is blocked on a bug with the actual product. priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@quentindemetz
Copy link

quentindemetz commented Nov 19, 2020

Results are empty when an OR clause concerns a folder which is inaccessible by the client

Environment details

  • OS: ubuntu 20.04
  • Ruby version: 2.7.1
  • Gem name and version: google-api-client (0.50.0)

Steps to reproduce

  1. run the quickstart without modifications and confirm it returns some files
  2. add a q parameter as follows: q: "'root' in parents or '1qalXys4O1i1UJPFttX2qvarT2iTfSav_' in parents", and confirm it returns no results.

Code example

response = drive_service.list_files(page_size: 10,
                                    q: "'root' in parents or '1qalXys4O1i1UJPFttX2qvarT2iTfSav_' in parents",
                                    fields:    "nextPageToken, files(id, name)")
@yoshi-automation yoshi-automation added the triage me I really want to be triaged. label Nov 20, 2020
@dazuma dazuma added priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. status: investigating The issue is under investigation, which is determined to be non-trivial. and removed triage me I really want to be triaged. labels Nov 20, 2020
@yoshi-automation yoshi-automation added 🚨 This issue needs some love. and removed 🚨 This issue needs some love. labels Feb 18, 2021
@yoshi-automation yoshi-automation added the 🚨 This issue needs some love. label May 18, 2021
@dazuma dazuma added external This issue is blocked on a bug with the actual product. and removed 🚨 This issue needs some love. status: investigating The issue is under investigation, which is determined to be non-trivial. labels Sep 15, 2021
@dazuma
Copy link
Member

dazuma commented Sep 15, 2021

Issue b/200055738 has been reported to the Drive backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external This issue is blocked on a bug with the actual product. priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

3 participants