jasminb / megastoragemanager

Android application providing sync and data management tools for mega cloud storage
5 stars 2 forks source link

Zero-size files nested in a folder tree skipped during upload #23

Closed ja02 closed 9 years ago

ja02 commented 9 years ago
  1. Create local folder Fo1 with an empty file f1.txt.
  2. On the Cloud tab press the menu button Upload. Wait for the upload process to finish.
  3. Check the content of the Fo1 folder in the cloud.

Expected: Cloud folder Fo1 contains file f1.txt. Error: Cloud folder Fo1 is empty.

Interestingly, if an empty file f2.txt resides in the same local folder as Fo1 and is explicitly selected in the file browser, it will be uploaded OK.

jasminb commented 9 years ago

There was a bug that would produce error if file was empty and encryption was attempted, I fixed the bug but there were checks in place in case entire folder was uploaded, empty files were omitted. Will fix it in next test build.