Conversation
AlvaroBrey
left a comment
There was a problem hiding this comment.
12-12 13:03:35.263 9843 10371 D GetNotificationRemoteOperation: Not yet implemented
12-12 13:03:35.264 9843 10371 E NotificationWork: Error creating account
12-12 13:03:35.264 9843 10371 E NotificationWork: java.lang.UnsupportedOperationException: Not yet implemented
12-12 13:03:35.264 9843 10371 E NotificationWork: at com.owncloud.android.lib.common.operations.RemoteOperation.run(RemoteOperation.java:110)
12-12 13:03:35.264 9843 10371 E NotificationWork: at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:220)
12-12 13:03:35.264 9843 10371 E NotificationWork: at com.nextcloud.client.jobs.NotificationWork.fetchCompleteNotification(NotificationWork.kt:256)
12-12 13:03:35.264 9843 10371 E NotificationWork: at com.nextcloud.client.jobs.NotificationWork.doWork(NotificationWork.kt:125)
12-12 13:03:35.264 9843 10371 E NotificationWork: at androidx.work.Worker$1.run(Worker.java:86)
12-12 13:03:35.264 9843 10371 E NotificationWork: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
12-12 13:03:35.264 9843 10371 E NotificationWork: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
12-12 13:03:35.264 9843 10371 E NotificationWork: at java.lang.Thread.run(Thread.java:1012)
12-12 13:03:35.266 9843 10119 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=00a1825a-379d-4fb2-b0d3-b87c2bbcee0a, tags={ name:notification, com.nextcloud.client.jobs.NotificationWork, timestamp:1670846615204, * }Getting this when testing with occ notification:test-push <username>
This should have been detected by tests in library's PR. |
|
@AlvaroBrey indeed this was not covered by library tests. |
|
/rebase |
866566e to
67665ba
Compare
|
Manually rebased |
|
@AlvaroBrey is this sort of a Java<->Kotlin "problem"? |
67665ba to
9fadb01
Compare
Looks like it, yeah. From a short research it looks like something that cannot be solved, so either work around (by defining it as RemoteOperationResult<List<? extends Notification>> and then casting getResultData to |
9fadb01 to
ad0d6d7
Compare
|
/rebase |
ad0d6d7 to
f9b15ca
Compare
|
/rebase |
f9b15ca to
3c98de9
Compare
3c98de9 to
92516a3
Compare
|
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/11140.apk |
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
92516a3 to
cff4908
Compare
|
test-Unit test failed, but no output was generated. Maybe a preliminary stage failed. |
|
blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed. |


Needs: nextcloud/android-library#453
Signed-off-by: tobiasKaminsky tobias@kaminsky.me