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

Open
#8,678 6 comments 19 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@grnd-alt is already working on this.

Since Nov 5, 2026.

Assessment

This issue has not been assessed yet.

Description

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
Dominant language
JavaScript
Stars
1.4k
Forks
380
Avg merge
1d 17h
Merged PRs (30d)
72

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nextcloud/deck

All issues in nextcloud/deck

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.