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

Updates using Path apply randomly when multiple files have same path #1

Open
atpetro opened this issue Sep 10, 2020 · 0 comments
Open

Comments

@atpetro
Copy link

atpetro commented Sep 10, 2020

Google allows duplicate names, both in folders as well as in recycle bin. When using SmartObjects that require Path as the input, there is no way to guarantee which file will be used on the Google side. At a minimum, we should exclude Recycle Bin files from all methods that use Path. Ideally we should add 'By Id' options to all methods as well.

let searchResults = await this.searchDrive(
name = '${itemName}' and '${parentFolder.id}' in parents and **trashed = false**
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant