Skip error about non-existing file if deleted before automatic upload
- Dominant language
- Kotlin
- Stars
- 5.6k
- Forks
- 2k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 92
Description
### Steps to reproduce
1. Setup automatic upload
2. Go offline (or off wifi if you set it up for "sync only on wifi")
3. Take a shitty picture
4. Wait for NC app to detect it and skip it
5. Using file manager, go and delete that picture, because it wasn't that good anyway
6. Go back online by enabling wifi
7. Wait for sync
8. Check the "Uploads" section
### Expected behaviour
No errors in uploads section.
### Actual behaviour
An error appears that the deleted file cannot be found.
### Version
Nextcloud app 3.14.1
Android 10
Nokia 6.1
### Notes
I'm guessing that the app is keeping track of pending files to upload after a picture has been taken, and then goes through that list when going back online. That code would need to be adjusted to not trigger/display an error in the log for files that got deleted (but only do that for the instant upload workflow, not for the regular syncing logic)
Contributor guide
Assessment
This issue has not been assessed yet.