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

Unlimited Quota not handled #54

Open
phil1995 opened this issue Dec 30, 2020 · 2 comments
Open

Unlimited Quota not handled #54

phil1995 opened this issue Dec 30, 2020 · 2 comments

Comments

@phil1995
Copy link

phil1995 commented Dec 30, 2020

With Google Drive it is possible to have unlimited quota (for example using GSuite account). If this is the case the command:

$quotas = $about->getStorageQuota();
$quotas->getLimit()

will only return ''.
Therefore, since currently the used quota is subtracted from this, the free space is usually negative and no file can be uploaded.
Edit: I just saw that the code in this repository and the core repository is different, so I'm unsure if the issue is correct here and doesn't belong in the core repository?

@kevendoliveira
Copy link

Hi @phil1995 I'm testing ownCloud and Google Drive on a Workspace account and encountered this problem, did you find any solution?

@phil1995
Copy link
Author

Hi @phil1995 I'm testing ownCloud and Google Drive on a Workspace account and encountered this problem, did you find any solution?

Hi @kevendoliveira sorry seems like I completely overlooked your comment. I fixed the bug in the code if you still need it I can look it up and maybe even create a small PR 🙂.

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

2 participants