[BUG] Cancelled uploads appear in file list as 0B
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 4.2k
- Forks
- 3.1k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 7
Description
- in oCIS, upload several big files (to have time to perform next steps). For this example, upload 5 files
- Cancel some of them, for example 3, in uploads view
Current: All 5 files appear in the target folder. The cancelled ones with 0B size
Expected: Cancelled files not appearing in the file list
Samsung A51, Android 12
Happens in:
- oCIS
- oC10
Maybe server involved... not sure. Propfind returns 0B files, but, they shouldn't be created from client side.
Upload is never cancelled actually. The PUT operation isn't aborted, so the HTTP request always returns 201 and it is considered a success. Therefore, a new file is created, sometimes with the whole size of the file and sometimes with 0 B.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue on Android by starting several large uploads and cancelling some from the uploads view. Trace the upload flow from cancellation through the PUT request and verify that cancelled files no longer appear in the target folder, including when the server reports a 0 B file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100