Please use GitHub reactions 👍 to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!
Describe the bug
When I create a new note, and going back to the notes list, it has created multiple notes. They all have the same title, the one I gave, and the title is followed by (1), (2), (3), etc. Inside each note, there is the text I entered, but just the title in the first note, the first few words in the second note, a bit more words in the third, etc, until the last one with everything.
It's like if there was a incremental backup creating a new note each time, instead of backing up to the same note.
When I want to delete all the useless ones, so not the last one (which I have to rename), I have an error :
App Version: 3.4.1
App Version Code: 3004001
App Flavor: fdroid
Files App Version Code: 30150190
---
OS Version: 4.14.190-perf+(2104052320)
OS API Level: 30
Device: OnePlus7Pro
Manufacturer: OnePlus
Model (and Product): GM1910 (OnePlus7Pro_EEA)
---
com.nextcloud.android.sso.exceptions.NextcloudHttpRequestFailedException: La requête HTTP a échoué avec le statut HTTP :423
at com.nextcloud.android.sso.api.AidlNetworkRequest.performNetworkRequestV2(AidlNetworkRequest.java:172)
at com.nextcloud.android.sso.api.NextcloudAPI.performNetworkRequestV2(NextcloudAPI.java:171)
at it.niedermann.owncloud.notes.persistence.SSOClient.requestFilesApp(SSOClient.java:27)
at it.niedermann.owncloud.notes.persistence.NotesClient.requestServer(NotesClient.java:178)
at it.niedermann.owncloud.notes.persistence.NotesClientV1.deleteNote(NotesClientV1.java:57)
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.pushLocalChanges(NotesServerSyncTask.java:126)
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.run(NotesServerSyncTask.java:72)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
Caused by: java.lang.IllegalStateException: {"errorType":"OCP\\Lock\\LockedException"}
at com.nextcloud.android.sso.InputStreamBinder.processRequestV2(InputStreamBinder.java:429)
at com.nextcloud.android.sso.InputStreamBinder.performNextcloudRequestAndBodyStreamV2(InputStreamBinder.java:125)
at com.nextcloud.android.sso.InputStreamBinder.performNextcloudRequestV2(InputStreamBinder.java:108)
at com.nextcloud.android.sso.aidl.IInputStreamService$Stub.onTransact(IInputStreamService.java:158)
at android.os.Binder.execTransactInternal(Binder.java:1165)
at android.os.Binder.execTransact(Binder.java:1134)
But not everytime... sometimes it deletes them without the need to restart the Notes app.
I can see every notes synchronize on my NC.
I have deleted the app data, re-signed in, no change, same behavior.
To Reproduce
Steps to reproduce the behavior:
- Go to Notes Android app
- Click on the '+' to create a new note
- See the multiple notes and the error when you want to delete them.
Expected behavior
When creating a new note, it should create only one note.
Screenshots
https://nextcloud.yostral.me/s/jeStQ2grewZiXbr
Smartphone (please complete the following information):
- Nextcloud Notes-Version (android app): 3.4.1
- F-Droid or Play Store: F-droid
- Android-Version: 11
- Device: OnePlus 7 pro
Server
- Nextcloud version: 21.0.1
- Nextcloud Notes version (server app): 4.0.4
Stacktrace
Here is everything I have in my NC logs :
{"reqId":"tGUs7lwOp9hBW9HsQvhT","level":1,"time":"2021-05-04T22:35:21+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"user1","app":"workflowengine","method":"POST","url":"/index.php/apps/notes/api/v1/notes?","message":"Flow handling done for event \\OCP\\Files::postCreate","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.15.1","version":"21.0.1.1","id":"6091cc29582b6"}
{"reqId":"tGUs7lwOp9hBW9HsQvhT","level":1,"time":"2021-05-04T22:35:21+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"user1","app":"workflowengine","method":"POST","url":"/index.php/apps/notes/api/v1/notes?","message":"Flow handling done for event \\OCP\\Files::postWrite","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.15.1","version":"21.0.1.1","id":"6091cc2958282"}
{"reqId":"tGUs7lwOp9hBW9HsQvhT","level":1,"time":"2021-05-04T22:35:21+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"user1","app":"no app in context","method":"POST","url":"/index.php/apps/notes/api/v1/notes?","message":"Deprecated event type for \\OCP\\Files::postWrite: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.15.1","version":"21.0.1.1","id":"6091cc2958275"}
Please use GitHub reactions 👍 to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!
Describe the bug
When I create a new note, and going back to the notes list, it has created multiple notes. They all have the same title, the one I gave, and the title is followed by (1), (2), (3), etc. Inside each note, there is the text I entered, but just the title in the first note, the first few words in the second note, a bit more words in the third, etc, until the last one with everything.
It's like if there was a incremental backup creating a new note each time, instead of backing up to the same note.
When I want to delete all the useless ones, so not the last one (which I have to rename), I have an error :
But not everytime... sometimes it deletes them without the need to restart the Notes app.
I can see every notes synchronize on my NC.
I have deleted the app data, re-signed in, no change, same behavior.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When creating a new note, it should create only one note.
Screenshots
https://nextcloud.yostral.me/s/jeStQ2grewZiXbr
Smartphone (please complete the following information):
Server
Stacktrace
Here is everything I have in my NC logs :