You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a bug when uploading files. When select e.g.: multiple images in the gallery and share this with owncloud app. The files should be uploaded only once.
Expected behaviour
sharing 3 files (1.img, 2.img, 3.img ) to a folder A
The Intent is created and filled inside the loop with local and remote paths array. So for three images (1.jpg, 2.jpg, 3.jpg) the service will be started three times with the multiple paths.
Yes, this seems to be odd. I am sure @davivel and @masensio will sort it out as they are refactoring the PR. There is another multiple uploads issue, too: #762 (comment) (At least I think it is another issue...)
I found a bug when uploading files. When select e.g.: multiple images in the gallery and share this with owncloud app. The files should be uploaded only once.
Expected behaviour
Actual behaviour
Steps to reproduce
Bug:
the Bug is in
uploadFiles
inUploader.java#L468
The
Intent
is created and filled inside the loop with local and remote paths array. So for three images (1.jpg, 2.jpg, 3.jpg) the service will be started three times with the multiple paths.Fix:
Move Intent creation,
startService()
untilfinish()
outside the loop.Environment data
Android version:
Stock Android 4.4
Device model:
SamsungNexus Galaxy
Stock or customized system:
ownCloud app version:
https://github.com/owncloud/android/tree/ef7cf6edb0c4f9914b37ce30cc7468d24ca368bf
ownCloud server version:
8.1
Logs
adb android log
The text was updated successfully, but these errors were encountered: