android icon indicating copy to clipboard operation
android copied to clipboard

cannot stop multiple files upload and app does not handle no space left on server

Open 2019-05-10 opened this issue 2 years ago • 1 comments
trafficstars

⚠️ Before posting ⚠️

  • [X] This is a bug, not a question or an enhancement.
  • [X] I've searched for similar issues and didn't find a duplicate.
  • [X] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • [X] I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

  1. select multiple files (about 500 photos in my case) and "share to nextcloud"
  2. upload starts but never finishes
  3. checkin in app, the available space indcator is red, but the app stubbornly tries to upload over and over again although all files now fail to upload
  4. there's long list of pending uploads but it is impossible to cancel a single upload, let alone all
  5. only way to solve is to kill nextcloud app, find it's hidden folder and delete all files to be uploaded

Expected behaviour

  1. recognize and deal apropriately with "no space left on server" -- after all the "space left" indicator DOES show that there's no space left, and yet the app does not use that info
  2. do not attempt failed uploads over and over again -- "doing the same thing over and over again and expecting a different outcome is a sure sign of madness". Instead depending on the error either cancel all pending uploads (as in case of no space left -- if one file doesn't fit anymore, more than one file will certainly not fit either), or cancel after X attempts and log the file and error to be shown to the user with one or more options to deal with it

Actual behaviour

App recognizes that there#S no space left, but stubbornly tries to upload nevertheless, repeating each failed file over an over again. There's no way inside the to cancel those uploads.

Android version

13

Device brand and model

OnePlus 9 Pro

Stock or custom OS?

Custom (explain in "additional information")

Nextcloud android app version

3.26.0

Nextcloud server version

27.0.2

Using a reverse proxy?

No

Android logs

No response

Server error logs

No response

Additional information

Lineageos 20 with regular updates

2019-05-10 avatar Sep 19 '23 17:09 2019-05-10

  1. there's long list of pending uploads but it is impossible to cancel a single upload, let alone all

FYI: This item likely improved by #12194 just merged, but the rest still open.

joshtrichards avatar Dec 03 '23 13:12 joshtrichards