App does not recognize when WiFi has been restored

Actual behaviour

With Photo auto-upload on WiFi only enabled, photos taken while not on WiFi coverage do not automatically upload after returning to WiFi coverage.

Expected behaviour

The app should detect the presence of/switch to WiFi, and trigger the upload queue automatically.

Steps to reproduce

  1. Install OC client and enable Auto-Upload photos on Wifi only. Test and validate this works on WiFi.
  2. Leave/Disable WiFi coverage and take a new photo. Within 15 minutes it will appear in the upload queue as expected, with the “Waiting for WiFi” status.
  3. Return to WiFi coverage. Items in the upload queue will remain in “Waiting for WiFi status” for at least 24 hours. The “Retry failed” option will trigger the uploads, which complete successfully. The app will then usually crash.

Can this problem be reproduced with the official owncloud server?
(url: https://demo.owncloud.org, user: test, password: test)

Yes. Validated auto-upload on wifi. No auto-upload to demo server 20+ minutes after returning to WiFi. App crashed while browsing upload queue.

Edit: Auto-upload to demo server triggered after app auto-restart from crash.

Environment data

Android version:
8.1.0 Dec 5 2018

Device model:
Nexus 6P

Stock or customized system:
Stock

ownCloud app version:
2.10.0 release 6d34130f8

ownCloud server version:
10.1.1

Logs

Web server error log

No entries in Apache error log. (expected since this is a client issue)

ownCloud log (data/owncloud.log)

No new entries generated in OC server log for the duration of the test (expected since this is a client issue)

Hey,

personally i would report such issues directly to a bugtracker instead of a user support forums. AFAIK the following bugtracker is used for the Android app: https://github.com/owncloud/android/issues

Maybe you can also already find some related bugreports there?

Thank you. It appears there is an open issue for this, #2460. I will update that.

Thanks!

2 Likes