owncloud / files_external_gdrive

GDrive external storage for ownCloud
GNU Affero General Public License v3.0
44 stars 41 forks source link

Unlimited Quota not handled #54

Open phil1995 opened 3 years ago

phil1995 commented 3 years ago

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 commented 2 years ago

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

phil1995 commented 1 year ago

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 🙂.