Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Notify the user that a file is locked (and sync does fail because of that) and remove the lock

Abierto
#3,387 0 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
android, java
Área
mobile

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement
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

Lenguaje dominante
Java
Estrellas
1.1k
Forks
170
Merge medio
2 h 39 min
PR fusionados (30 d)
23

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de nextcloud/notes-android

Todos los issues de nextcloud/notes-android

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.