Sync failed after adding a new category from a note
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 63/100
Research direction
Start with NotesServerSyncTask.pushLocalChanges at line 150 and reproduce the category-addition sequence described in the issue. Inspect how the NotPermittedException occurs during sync, then verify that saving a note with a newly added category completes synchronization without removing the category.
Written by the indexing model from the issue text.
Description
This issue respects the following points:
- I have read the FAQ
- I have searched for existing issues
- The issue affects the Notes Android app, neither the Notes server app nor the Nextcloud Android app.
Describe the bug
- Create a note
- Save it. Sync work
- Open the note, add a NEW category (i tested with "W")
- Exit the note
- Sync fails
- Open the note, remove it from category
- Sync work
Expected behavior
Sync work after adding it to a category
Notes Android version
34.0.0
Notes server version
6.0.0
Nextcloud Android version
34.0.0
Nextcloud version
34.0.0
Device
Fairphone 5
Android Version
15
App Store
- Google Play Store
- F-Droid
- Huawei App Gallery
Stacktrace
App Version: 34.0.0
App Version Code: 340000090
App Flavor: play
Files App Version Code: 340000090 (PROD)
---
OS Version: 5.4.274-qgki-gd51836b0c13b(VT2R)
OS API Level: 35
Device: FP5
Manufacturer: Fairphone
Model (and Product): FP5 (FP5)
---
java.lang.Exception: {"errorType":"OCP\\Files\\NotPermittedException"}
[com.nextcloud.android.sso.InputStreamBinder.processRequestV2(InputStreamBinder.java:440), com.nextcloud.android.sso.InputStreamBinder.performNextcloudRequestAndBodyStreamV2(InputStreamBinder.java:113), com.nextcloud.android.sso.InputStreamBinder.performNextcloudRequestV2(InputStreamBinder.java:96), com.nextcloud.android.sso.aidl.IInputStreamService$Stub.onTransact(IInputStreamService.java:112), [android.os](http://android.os/).Binder.execTransactInternal(Binder.java:1500), [android.os](http://android.os/).Binder.execTransact(Binder.java:1444)]
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.pushLocalChanges(NotesServerSyncTask.java:150)
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.run(NotesServerSyncTask.java:99)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:520)
at java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1154)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:652)
at java.lang.Thread.run(Thread.java:1564)
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 178
- Avg merge
- 10h 48m
- Merged PRs (30d)
- 41
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nextcloud/notes-android
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
nextcloud/notes-android#3469 ·
Maintainers usually reply within 1 day
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
nextcloud/notes-android#3439 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
nextcloud/notes-android#3367 ·
Maintainers usually reply within 1 day
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
nextcloud/notes-android#3353 · 2 comments · 2 reactions ·
Maintainers usually reply within 1 day
-
Android: Note stuck in synchronization loop after editing until note is deleted from serverPossibly taken @alperozturk96 claimed this 6 days ago. Open0. Needs triage bug
Difficulty 4/5 3-5 days Newbie friendliness 22/100
nextcloud/notes-android#3442 · 5 comments · 2 reactions · 1 assignee ·
Maintainers usually reply within 1 day
All issues in nextcloud/notes-android
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
installation sdk usability
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
beehive-lab/TornadoVM#1356 ·
Maintainers usually reply within 1 day
-
0. Needs triage enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
davidfercas/opendcanard#34 ·
-
good first issue help wanted
Difficulty 1/5 Under an hour Newbie friendliness 90/100
erkamyaman/rust-anything#702 ·
Maintainers usually reply within 1 day