-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Fix GDrive handling of office files #22405
Conversation
1) Properly detect empty file extension, can be null. 2) When renaming part file to final file, use the correct file name without extension, if it exists 3) When renaming a file, do not delete the original file if it had the same id, which can happen with part files
By analyzing the blame information on this pull request, we identified @MTGap, @LukasReschke, @icewind1991 and @Xenopathic to be potential reviewers |
There's also an issue with encrypted files on master, when uploaded with the sync client. It looks like this PR fixes that too, possible related to the rename fix. |
@ferdiga does the rest work at least when not using resuming / range requests ? |
the web interface looks better, the client sync not - I still get the errors described. BTW I applied the fix to 8.2.1 |
Ran the unit tests, some fail:
|
I ran the same tests on master, the same ones fail. So this PR doesn't cause new breakage. |
Raised #22481 to have a look at those old failing unit tests |
Please review @icewind1991 @MorrisJobke @Xenopathic @LukasReschke |
👍 looks good |
Needs a second reviewer @davitol @SergioBertolinSG @jvillafanez |
👍 |
Fix GDrive handling of office files
@Dianafg76 check your owncloud.log, if you see "User Rate Limit Exceeded" then it's the same issue that @davitol saw yesterday. For some reason the GDrive account you guys are using is running out of API quota quickly. (this is unrelated to this PR, you'll likely observed this on v8.2.2 and older versions too) |
See #20481 for the user rate limit issue |
LOG
@PVince81 Thanks :) |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Properly detect empty file extension, can be null.
When renaming part file to final file, use the correct file name
without extension, if it exists
When renaming a file, do not delete the original file if it had the
same id, which can happen with part files
Might fix #9958 (but not sure about those negative sizes)