BUGS & IMPROVEMENTS
Should rename to 2.6.0? 2.5.1 is a name for a minor/bugfixing release, and this one will include interesting stuff and some new features.
Yes, sounds plausible 馃憤
Totally agree
Session finishes suddenly, and redirection to login view
Steps to reproduce:
Current: Redirected to login view
Expected: Account switching correct
Tested with Samsung Galaxy S7 v7
Steps to reproduce:
Current: Redirected to login view
Expected: Account switching correct
Tested with Nexus 6P v7.1.2
@jesmrec I've managed to reproduce the Bug 2 with the next steps:
Current behaviour: Redirected to login view
Expected: Account switching properly
With 10 servers is not reproducible
Tested with Nexus 6P v7.1.2 and Samsung Galaxy S7 edge v7.0
Steps to reproduce:
Current: App crashes
Expected: Error message, no connection
Tested with Nexus 6P v7.1.2
NOTE: by removing wifi connection, it is also reproducible.
Resuming the work here, second review
Steps to reproduce:
Current: Pics/videos are uploaded
Expected: Pics videos are not uploaded, so the camera folder points to a different one
Tested with Nexus 6P v7.1.2
kind of different to (4), different steps:
Steps to reproduce:
Current: Pics of step 2. are uploaded
Expected: Any pic should be uploaded, so the camera folder was just enabled.
Tested with Nexus 6P v7.1.2
at this point, all bugs fixed and regression finished. Pending to perform upgrade testing before releasing 2.6.0
@davigonz could you try to generate a release .apk and install it in a tablet? installation error received in Android 5 tablets, but working fine in phones.
could you try to generate a release .apk and install it in a tablet? installation error received in Android 5 and 6 with tablets, but working fine in phones.
@jesmrec It works for me in a Samsung Galaxy Tab S 6.0.1
Another issue related with upgrading (6)
Steps:
1.- Install release 2.5.0
2- Attach two accounts, download some files and enable camera uploads and passcode lock.
3- Upgrade to the current 2.6.0
Current: App crashes after typing passcode
Expected: Correct upgrade
Tested with Nexus 6P v7, GalaxyS v6
Stack trace of the crash
01-31 10:18:50.178 3961-4078/? E/AndroidRuntime: FATAL EXCEPTION: Thread-2401
Process: com.owncloud.android, PID: 3961
java.lang.NoSuchMethodError: No virtual method getPrivateLink()Ljava/lang/String; in class Lcom/owncloud/android/lib/resources/files/RemoteFile; or its super classes (declaration of 'com.owncloud.android.lib.resources.files.RemoteFile' appears in /data/app/com.owncloud.android-2/base.apk)
at com.owncloud.android.utils.FileStorageUtils.createOCFileFrom(FileStorageUtils.java:156)
at com.owncloud.android.operations.SynchronizeFolderOperation.mergeRemoteFolder(SynchronizeFolderOperation.java:299)
at com.owncloud.android.operations.SynchronizeFolderOperation.run(SynchronizeFolderOperation.java:210)
at com.owncloud.android.lib.common.operations.RemoteOperation.runOperation(RemoteOperation.java:266)
at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:142)
at com.owncloud.android.operations.common.SyncOperation.execute(SyncOperation.java:91)
at com.owncloud.android.operations.RefreshFolderOperation.run(RefreshFolderOperation.java:143)
at com.owncloud.android.lib.common.operations.RemoteOperation.runOperation(RemoteOperation.java:266)
at com.owncloud.android.lib.common.operations.RemoteOperation.run(RemoteOperation.java:232)
at java.lang.Thread.run(Thread.java:818)
@jesmrec The crash described in Bug 6 is related to the way in which apks are generated, it's highly recommended to clean the project before building it to avoid that kind of dependency errors.
All stuff fixed, release QA work finished.
Im unable to compile the project as the way described in SETUP.md
C:\Users\home\AndroidStudioProjects\android-oc-android-2.6.0>gradlew.bat --debug clean build
07:59:50.844 [INFO] [org.gradle.internal.nativeintegration.services.NativeServices] Initialized native services in: C:\Users\home.gradle\native
07:59:50.894 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
07:59:50.896 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
07:59:50.896 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
07:59:50.896 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
07:59:50.899 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Could not determine java version from '9.0.4'.
07:59:50.899 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
07:59:50.900 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
07:59:50.900 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Run with --stacktrace option to get the stack trace.
I have installed android sdk 267 and 27. SDK-Tool 26.1.1 and SDK Platform tool 27.0.1.
java --version
java 9.0.4
Java(TM) SE Runtime Environment (build 9.0.4+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)