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

Aperta
#8,678 6 commenti 19 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@grnd-alt ci sta già lavorando.

Dal 5/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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
Lingua principale
JavaScript
Stelle
1.4k
Fork
380
Merge medio
1g 17h
PR unite (30g)
72

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nextcloud/deck

Tutte le issue di nextcloud/deck

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.