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

fix(files): Bring back handling of failed files #45860

Merged
merged 3 commits into from
Jun 24, 2024

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Jun 13, 2024

Summary

The fileid might be set to -1 in case of an error, this brings back proper handling of this case.

Checklist

@susnux susnux added this to the Nextcloud 30 milestone Jun 13, 2024
@susnux susnux requested a review from skjnldsv as a code owner June 13, 2024 13:09
@susnux susnux force-pushed the fix/files-handle-failed-state branch from f3523e2 to 061174d Compare June 13, 2024 13:15
@susnux susnux requested review from artonge, Fenn-CS and Pytal June 13, 2024 13:16
@susnux
Copy link
Contributor Author

susnux commented Jun 13, 2024

Best with, but no blocker: nextcloud-libraries/nextcloud-files#985

@susnux
Copy link
Contributor Author

susnux commented Jun 18, 2024

/compile

@susnux susnux self-assigned this Jun 18, 2024
When files are loaded from API the `fileid` might be set to `-1` indicating
an error on the API.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux enabled auto-merge June 24, 2024 10:54
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux force-pushed the fix/files-handle-failed-state branch from 972efeb to 0bd7c76 Compare June 24, 2024 10:55
@susnux susnux merged commit 0dc0a9b into master Jun 24, 2024
110 checks passed
@susnux susnux deleted the fix/files-handle-failed-state branch June 24, 2024 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants