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

Unable to delete files is "creator" in drive file is not a user_id #787

Closed
shepilov opened this issue Jan 23, 2025 · 0 comments · Fixed by #793
Closed

Unable to delete files is "creator" in drive file is not a user_id #787

shepilov opened this issue Jan 23, 2025 · 0 comments · Fixed by #793
Labels
bug Something isn't working
Milestone

Comments

@shepilov
Copy link
Member

If the file were written by application, in "creator" field we have not user_id, but application id.

And in "delete" function in DocumentService we are looking a user by id, and then checking it's type. As a result we have NPE

@shepilov shepilov added the bug Something isn't working label Jan 23, 2025
@shepilov shepilov added this to the v1.0.7 milestone Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant