Closed Aitorbp closed 5 months ago
4.1.1
Settings
> Logging
> enable logsCurrent: app crashes just after opening Expected: no crash, migration completed
Seems to be a problem with the date format. This is the stacktrace:
FATAL EXCEPTION: main
Process: com.owncloud.android.debug, PID: 22679
java.lang.RuntimeException: Unable to create application com.owncloud.android.MainApp: java.text.ParseException: Unparseable date: "2024-02-06"
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6717)
at android.app.ActivityThread.access$1300(ActivityThread.java:237)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1913)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7656)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: java.text.ParseException: Unparseable date: "2024-02-06"
at java.text.DateFormat.parse(DateFormat.java:362)
at com.owncloud.android.lib.common.utils.OCFileLoggingTree.<init>(OCFileLoggingTree.kt:68)
at com.owncloud.android.lib.common.utils.OCFileLoggingTree.<init>(OCFileLoggingTree.kt:37)
at com.owncloud.android.lib.common.utils.LoggingHelper.startLogging(LoggingHelper.kt:38)
at com.owncloud.android.providers.LogsProvider.startLogging(LogsProvider.kt:45)
at com.owncloud.android.MainApp.startLogsIfEnabled(MainApp.kt:239)
at com.owncloud.android.MainApp.onCreate(MainApp.kt:99)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1192)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6712)
at android.app.ActivityThread.access$1300(ActivityThread.java:237)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1913)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7656)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Pixel2 Android11
Samsung Tab A8 Android 13
65b3bccda
Not a technical one: i realised that our changelog/release notes are not complete. Some contributions from community are missing there:
https://github.com/owncloud/android/pull/4263 https://github.com/owncloud/android/pull/4183 https://github.com/owncloud/android/pull/4177
about (2), added some comments to the newly added entries.
a very weird behaviour:
Current behaviour:
Unknown error
. Also, i noticed that the spaces warning ocis_accounts_warning_message
is displayed
Pixel2 Android11
Samsung Tab A8 Android 13
f54a7cee2
(3) was due to the malfunction of the "Clear data" option, which put the database in a weird inconsistent state. But this is not a regression, so it was solved temporally by disabling the Clear data
button and we'll work on it in a separate issue
Release 4.2.0
is approved on my side.
Approved commit: 25de31ec8
Android Studio version: Android Studio Hedgehog | 2023.1.1 Patch 2
Devices:
Pixel2, Android11 Samsung Galaxy Tab A8, Android13
Regression Test: https://github.com/owncloud/QA/blob/master/Mobile/Android/Executions/Release_4.2/RegressionTest.md Autom test execution vs oC 10.13.4: https://reports.cucumber.io/reports/68cb56b4-7f3b-444b-96dd-405c5bb95093 Autom test execution vs oCIS5: https://reports.cucumber.io/reports/5b315360-af4e-460d-ab43-82f0d8905603
Great job, team!!
Related Issues
App: https://github.com/owncloud/android/issues/4254
QA