Notify the user that a file is locked (and sync does fail because of that) and remove the lock
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
The payload names no files, so start by finding where the Android app's sync failure is reported to the user and whether it receives the server's lock state. Done means a failed sync caused by a file lock shows a notice that the file is locked, and the design choice for unlocking (own lock versus someone else's) is settled first, since the issue lists several options and the maintainers have not picked one.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is your feature request related to a problem? Please describe.
Currently, if a file is locked on the server side (which can happen, even if only e.g. the android notes app is used for editing, which is porbably another bug), the user does not get notified. This is one cause for a failed sync, but the user does not get a hint towards this cause, just an error message.
Describe the solution you'd like
Minimum: Notify the user that the file is locked, instead of just failing to sync. Probably it is useful to use the same icon and tell the user how he can remove the lock, e.g. in the web interface.
Expected: Do not allow to edit a locked file since this is likely to cause data loss.
Ideally: Allow the user to unlock the file, with a hint that this may cause data loss. DEfinitely if the file is locked by the person itself. Maybe more restrictive if somebody else locked it.
Perfect: Merge differences in case there are any between the server side and the app.
Describe alternatives you've considered
No response
Additional context
No response
- Lingua principale
- Java
- Stelle
- 1.1k
- Fork
- 170
- Merge medio
- 2h 39m
- PR unite (30g)
- 23
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nextcloud/notes-android
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
nextcloud/notes-android#3367 ·
I maintainer di solito rispondono entro 1 giorno
-
0. Needs triage bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
nextcloud/notes-android#3353 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
App not syncingAperta0. Needs triage bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 15/100
nextcloud/notes-android#3388 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
nextcloud/notes-android#3386 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
nextcloud/notes-android#3385 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di nextcloud/notes-android
Issue simili
-
[BUG] Re-subscribing the Mono returned by listTools/listResources/listResourceTemplates/listPrompts/listRoots duplicates the resultsForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
modelcontextprotocol/java-sdk#1174 · 1 reazione ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
refinedmods/refinedstorage2#1419 ·
-
module: core
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
bigbluebutton/bigbluebutton#26028 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
MetricsHub/metricshub-community#1390 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
apache/rocketmq-dashboard#6331 ·
I maintainer di solito rispondono entro 5 giorni