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

Do not keep the part file if the forbidden exception has no retry set #22556

Merged
merged 1 commit into from
Sep 3, 2020

Conversation

juliushaertl
Copy link
Member

Follow up to #22128 where the .ocTransferId[RND].part file still was kept in the users folder when an upload is being blocked by files_accesscontrol.

This requires nextcloud/files_accesscontrol#163 to work.

From owncloud/core#20494 i assumed that the retry was introduced to indicate that clients should try to sync again at a later point, so I think it makes sense to not set this for files_accesscontrol thrown ForbiddenExceptions.

… false

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@blizzz blizzz merged commit d20a11f into master Sep 3, 2020
@blizzz blizzz deleted the bugfix/noid/cleanup-part-file branch September 3, 2020 11:01
@juliushaertl
Copy link
Member Author

/backport to stable19

@juliushaertl
Copy link
Member Author

/backport to stable18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants