Description changes are lost when the due date is changed afterwards (regression of #2789)

Abierto
#8,678 6 comentarios 19 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@grnd-alt ya está trabajando en esto.

Desde el 5/11/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

1. to develop bug
Describe the bug

Changes to a card's description are lost when the due date is changed afterwards. This looks like a regression of #2789 (closed in 2021).

Steps to reproduce
  1. Open an existing card in the sidebar
  2. Edit or extend the description text
  3. Right after that, change the due date of the same card
  4. Close the card and reload the page
Expected behavior

Both the new description and the new due date are saved.

Actual behavior

The due date is saved, but the description is reverted to its previous content. The description edit is lost.

If only the description is changed (no due date change afterwards), the edit is saved correctly.

Possible cause

As analysed in #2789: the due date update sends the complete (copied) card object, including the old description, and overwrites the description that is saved separately (with autosave delay) by the description editor. Similar pattern: #7294 (done state reset), #7115.

Workaround

Change the due date first, then edit the description - or close and reopen the card after editing the description before changing the due date.

Environment
  • Deck: 1.19.1
  • Nextcloud Server: 35.0.2
  • Browser: Firefox 159 (Flatpak) on Debian 13
Lenguaje dominante
JavaScript
Estrellas
1.4k
Forks
380
Merge medio
1 d 17 h
PR fusionados (30 d)
72

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

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

Todos los issues de nextcloud/deck

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.