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

Rename of a file/folder fails if you don't have permission. Script should continue with others. #7

Open
TurtleEngr opened this issue Mar 26, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@TurtleEngr
Copy link
Owner

This is reported as a fatal error:
[object Object]
Unexpected Exception: Access denied: DriveApp.
stack dump:
Exception: Access denied: DriveApp.
at RenameFiles._processList (rename-files:391:35)
at RenameFiles.renameList (rename-files:344:10)
at RenameFiles._uiProcessList (rename-files:532:14)
at RenameFiles.uiRenameList (rename-files:509:17)
at menuRenameList (rename-files:64:11)
at GS_INTERNAL_top_function_call.gs:1:8

Expected behavior: in the Renamed column, put "permission denied" for each file/folder that does not get renamed. Continue processing all the remaining files/folders.

This could be considered a bug, but the expected behavior makes it clear this is an enhancement.

@TurtleEngr TurtleEngr added the enhancement New feature or request label Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant