NC Tasks flattens subtasks after they have been moved beteween calendars by Tasks.org

Abierto
#2,917 7 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
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
javascript
Área
backend

Línea de trabajo

Reproduce el problema utilizando la configuración indicada de Tasks.org, DAVx5, Nextcloud 31 y NC Tasks 0.16.1, siguiendo los pasos de actualización y sincronización. Rastrea qué cambia la marca de tiempo de modificación de la tarea y la relación de subtarea durante una actualización de NC Tasks; se considera terminado cuando la actualización deja sin cambios los datos de la tarea y la estructura de subtareas, a menos que el usuario las edite explícitamente.

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

Descripción

bug
Steps to reproduce
  1. Have a task with subtask
  2. Use Tasks.org to move it to a different calendar and note the modification timestamp
  3. Cause a manual sync in Tasks.org and see that it's still a subtask; unmodified (modified timestamp unchanged)
  4. Wait a minute and open/refresh NC Tasks
Expected behavior

NC tasks should not touch the subtask structure.

In fact, it should not touch any task data whatsoever unless the user explicitly asked for the specific modification to be done and merely refreshing the page should not imply any modification to be done.

Actual behaviour

The task has been modified after the NC Tasks refresh and the subtask is now at the top-level.

If you then sync Tasks.org again, it too has the subtask at the top level now, so it's not a data representation issue; NC tasks actually modified the task (modification timestamp changed) and that caused it to no longer be a subtask.

Tasks app version

0.16.1

CalDAV-clients used

DAVx5

Browser

No response

Client operating system

No response

Server operating system

No response

Web server

None

Database engine version

None

PHP engine version

None

Nextcloud version

31

Updated from an older installed version or fresh install

None

List of activated apps

Nextcloud configuration

Web server error log

Log file

Browser log

Additional info

No response

Lenguaje dominante
JavaScript
Estrellas
710
Forks
125
Merge medio
19 h 37 min
PR fusionados (30 d)
12

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/tasks

Todos los issues de nextcloud/tasks

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.